[Bug c++/62227] Templated move not elided

2014-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62227 --- Comment #4 from Jonathan Wakely --- http://open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#535 changed that wording

[Bug c++/62227] Templated move not elided

2014-08-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62227 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement --- Comment #3 from Jonath

[Bug c++/62227] Templated move not elided

2014-08-24 Thread james.dennett at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62227 James Dennett changed: What|Removed |Added CC||james.dennett at gmail dot com --- Comme

[Bug c++/62227] Templated move not elided

2014-08-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62227 --- Comment #1 from Jonathan Wakely --- A template cannot be a move constructor and so it is not legal to elide it. Removing line (1) means there is a move constructor implicitly declared, which will be used and can be elided. Removing line (2)