Hacker News new | past | comments | ask | show | jobs | submit login

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: