User Tools

Site Tools


2013:move_noexcept_and_push_back_and_how_it_relates_to_each_other

Back to proposals-2013

Title: Move, noexcept, and push_back() and how they relate to each other
Proposer: nico_josuttis
Type: Tutorial
Duration: 90 minutes
Description: One key feature of C++11 is move semantics with rvalue references. However, combined with other features and guarantees of the standard library the consequences of introducing move semantics turn out to be remarkable. In fact, late in the standardization process this features caused the new concept for exception handling using the new keyword noexcept. The reason was to remain backward compatibility of push_back() for vectors. This talk will jump into the whole mess of this topic of move semantics and exception handling. It give a rough understanding of what move semantics means for class designers and why and how good class design even more becomes an issue with C++11.

Roger: of Nico's three I think this is my favourite

2013/move_noexcept_and_push_back_and_how_it_relates_to_each_other.txt · Last modified: 2016/06/11 14:05 by 127.0.0.1