DescriptionRecommend 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}
Committed: https://chromium.googlesource.com/chromium/src/+/9efba0cd0d357c433d878635e673d5de4a2f4be1
Patch Set 1 #
Messages
Total messages: 10 (6 generated)
|