|
|
|
|
|
by fragmede
722 days ago
|
|
Yeah that's because you're not supposed to be using "new" anymore since the introduction of smart pointers in
C++11. Std::shared_ptr and std::unique_ptr are preferred. Shared pointers ref count and auto-delete, and unique pointers can't be copied. |
|