3 ms·
The author states: >Neither the performance issue that move semantics address nor the perfect forwarding problem exist in classic OO languages that use referen
by bogomipz 9y ago
The author states:
>Neither the performance issue that move semantics address nor the perfect forwarding problem exist in classic OO languages that use reference semantics and garbage collection for user-defined types."
I understand reference semantics but what are move semantics?
Also what is the "perfect forwarding problem"?
- thebear 9y agoAuthor here. A few years back, I wrote an article about the issues that you're asking about. Since the article still comes up as the #1 result of Google search for "C++ rvalue references", I believe it's ok for me to recommend it here: http://thbecker.net/articles/rvalue_references/section_01.html http://thbecker.net/articles/rvalue_references/section_01.ht... Warning: Read only if you have a serious interest in C++.
- bogomipz 9y agoThanks, I thought this was well-written.