2 ms·
heap allocation that comes with std::unique_ptr I think it may be worth mentioning that std::unique_ptr can be used to "manage" non-heap pointers as well.
by Koshkin 8y ago
heap allocation that comes with std::unique_ptr
I think it may be worth mentioning that std::unique_ptr can be used to "manage" non-heap pointers as well.