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

You can use std::move() to make the last example work, so it's still easy to return unique_ptr from more complex functions.


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

Search: