Hacker News new | ask | show | jobs
by tialaramex 1422 days ago
> returning the address of a stack-allocated object is (usually) broken.

What matters is the lifetime, where the object lives is a rule of thumb for guessing lifetime that results from C++ trauma.