Re:Move in C++ without a std:move
by leni536 on Wednesday September 02, 2026 @11:15AM
(#49537592)
That one is not too hard either. `one` simply can't be NRVO'd as there is a runtime path in scope of it that doesn't return it. `two` can be (unless you hide some other return within ...).
[ Parent
| on HN ]