2 ms·
But you realize that "it needs to outlive the current scope" is vague enough to support the statement that there's really no rule of thumb, right?
by bernawil 7y ago
But you realize that "it needs to outlive the current scope" is vague enough to support the statement that there's really no rule of thumb, right?
- randyrand 7y agoSeems pretty objective to me. When the current function returns, will this object ever get used again? Most of the time the answer is no.