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

2023-12-02


950. Use of decltype as a class-name

Section: 9.2.9.3  [dcl.type.simple]     Status: CD2     Submitter: Alisdair Meredith     Date: 3 August, 2009

[Voted into WP at March, 2010 meeting as document N3049.]

In the current specification, a decltype resulting in a class type is not a class-name, meaning that it cannot be used as a base-specifier. There doesn't seem to be any reason not to allow that, and it would be consistent with the proposed outcome of issue 743.

Proposed resolution (February, 2010):

See paper PL22.16/10-0021 = WG21 N3031.