Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
abhishekkr
· 11y ago · 0 comments
You can actually just do return big_object_ptr; Instead of the std::move. The compiler will complain if it can't do RVO because unique_ptr prohibits a copy, so you're safe :)
Comments
No comments yet.
Better HN