Re:Handles Are the Better Pointers
by cshokie on Wednesday June 21, 2023 @11:36PM
(#36427741)
The C++ standard library smart pointers (e.g. unique_ptr) have optional template parameters for the allocator and destruction method. It seems like the standard C++ smart pointer types could still be used with handles. All you need is the right typedef.
[ Parent
| on HN ]
There are no comments on this comment yet.