4 ms·
The resource manager (like std::vector or std::unique_ptr) can certainly live on the stack when the data it manages resides on the heap.
by netheril96 10y ago
The resource manager (like std::vector or std::unique_ptr) can certainly live on the stack when the data it manages resides on the heap.