utils: Add a base light class for reference counting

Enterprise / Virtualization / SPICE - Frediano Ziglio [gmail.com] - 4 August 2021 12:01 UTC

Similar to shared_ptr_counted but avoid atomic counter and polymorphism.

a3656e21 utils: Add a base light class for reference counting
server/utils.hpp | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)

Upstream: cgit.freedesktop.org


  • Share