Re:Const all the things?
by jcelerier on Tuesday January 25, 2022 @05:09PM
(#30078818)
From what I could see through hundreds of godbolt snippets, if you declare the variable you'll return at the very top of the function before any control flow, NRVO will pretty much always happen.
[ Parent
| on HN ]
There are no comments on this comment yet.