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

>what exactly is the difference between make_unique and plain old unique_ptr

make_unique is just a convenience function for creating a unique_ptr without having to write "new" yourself. It returns a unique_ptr.



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

Search: