3 ms·
std::shared_ptr<void> is also very interesting, you can put any object in it and the destructor will be called when the shared pointer is destroyed. I never us
by Rexxar 11y ago
std::shared_ptr<void> is also very interesting, you can put any object in it and the destructor will be called when the shared pointer is destroyed.
I never use it until now but I can see some possible use for it.