5 ms·
> 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 l
by tialaramex 4y 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.