forked from OSchip/llvm-project
![]() In C++11 standard, to become implicitly movable, the expression in return statement should be a non-volatile automatic object. CWG1579 changed the rule to require that the expression only needs to be an automatic object. C++14 standard and C++17 standard kept this rule unchanged. C++20 standard changed the rule back to require the expression be a non-volatile automatic object. This should be a typo in standards, and VD should be non-volatile. Differential Revision: https://reviews.llvm.org/D88295 |
||
---|---|---|
.. | ||
class.base/class.base.init | ||
class.bit | ||
class.compare | ||
class.friend | ||
class.init/class.copy.elision | ||
class.local | ||
class.mem | ||
class.mfct/class.mfct.non-static | ||
class.nest | ||
class.nested.type | ||
class.static/class.static.data | ||
class.union | ||
p1-0x.cpp | ||
p2-0x.cpp | ||
p6-0x.cpp |