Recommend noexcept for move constructors.
Marking move constructors "noexcept" allows std::vector to use the move constructors in container resizes. Otherwise it will copy which is not expected by most callers. http://en.cppreference.com/w/cpp/language/move_constructor This also replaces some technically invalid characters with HTML entities. Discussion: https://groups.google.com/a/chromium.org/d/msg/cxx/ze4WJFg7RvU/Qhbb6DTrBQAJ Review-Url: https://codereview.chromium.org/2782973002 Cr-Commit-Position: refs/heads/master@{#460530}
Showing
Please register or sign in to comment