Hacker News new | ask | show | jobs
by perspective1 2446 days ago
Tell that to the enormous heap object you just forgot you made earlier.
2 comments

It would work with an object held by unique_ptr though, exactly like this Rust example.
You’re not using std::unique_ptr to manage that?