Created on 2010-06-22.00:00:00 last changed 170 months ago
Rationale (November, 2010):
The CWG felt that the current specification was consistent and not overly problematic; users can add their own move constructor if needed.
11.4.5.3 [class.copy.ctor] paragraph 12 says that a defaulted move constructor is defined as deleted if the class has a non-static data member or direct or virtual base class with a type that does not have a move constructor and is not trivially copyable. This seems more strict than is necessary; the subobject need not be trivially copyable, it should be enough for the selected constructor not to throw. In any case, the wording should be phrased in terms of the function selected by overload resolution rather than properties of the subobject type, and similarly for move assignment.
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-11-29 00:00:00 | admin | set | messages: + msg3219 |
2010-11-29 00:00:00 | admin | set | status: open -> nad |
2010-06-22 00:00:00 | admin | create |