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


2714. Implicit deduction guides omit properties from the parameter-declaration-clause of a constructor

Section: 12.2.2.9  [over.match.class.deduct]     Status: DRWP     Submitter: Richard Smith     Date: 2017-02-13

[Accepted as a DR at the March, 2024 meeting.]

Subclause 12.2.2.9 [over.match.class.deduct] bullet 1.1.2 specifies:

However, this does not consider default arguments or variadic constructors.

Proposed resolution (approved by CWG 2023-04-28):

(This also resolves issue 2628.)

Change in 12.2.2.9 [over.match.class.deduct] paragraph 1 as follows: