This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 116a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-12-19


1083. Passing an object to ellipsis with non-trivial move constructor

Section: 7.6.1.3  [expr.call]     Status: C++11     Submitter: Jason Merrill     Date: 2010-06-22

[Voted into the WP at the November, 2010 meeting.]

7.6.1.3 [expr.call] paragraph 7 should mention a non-trivial move constructor as well, for consistency with “trivially copyable.”

Proposed resolution (September, 2010):

Change 7.6.1.3 [expr.call] paragraph 7 as follows:

...Passing a potentially-evaluated argument of class type ( Clause 11 [class]) with having a non-trivial copy constructor, a non-trivial move constructor, or a non-trivial destructor, with no corresponding parameter is conditionally-supported, with implementation-defined semantics. If the argument...