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

2025-11-07


3108. Reflection on type aliases

Section: 7.6.2.10  [expr.reflect]     Status: ready     Submitter: Jakub Jelinek     Date: 2025-10-29

(From submission #789.)

It is not clear in 7.6.2.10 [expr.reflect] paragraph 6 whether the phrasing "names a type alias" also applies for type aliases appearing somewhere in a type-id, e.g. ^^const my_typedef_name.

Proposed resolution (approved by CWG 2025-11-04):

Change in 7.6.2.10 [expr.reflect] bullet 6.2 as follows:

A reflect-expression R of the form ^^type-id represents an entity determined as follows: