Zero-cost unique_ptr deleters
A C++ smart unique_ptr uses exactly the same amount of memory as a
regular pointer, and has zero runtime cost. That is what we love about C++.
But what if I need a custom deleter for my pointer? Can I get it at zero cost too?
▸ read more