Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's not the same as smart pointers like std::unique_ptr.


Have a look at boost::movelib::unique_ptr<T> which works well with C++98/03.




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

Search: