<- Back
Comments (29)
- tom_If the author is reading: both complicated examples are the same.
- boguscoderTitle made me think they’d just show that move is just a simple cast, nothing more
- ptsptsThe HN title is incorrect. It should contain std::move.
- fluoridationUnfortunately, I don't think there's getting away from just understanding value semantics to get the correct and/or performant behavior.
- sprocketzWhat is that makes NVRO so much more difficult to implement? Why couldn't they mandate that just like RVO? Do compilers literally just special case a simple return statement of a direct construction or something?
- hn45e7pbijI'd push back slightly on move — at small scale the opposite has been true for me.