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

2024-04-18


2413. typename in conversion-function-ids

Section: 13.8  [temp.res]     Status: CD6     Submitter: Davis Herring     Date: 2019-05-10

[Accepted at the November, 2020 meeting as part of paper P1787R6 and moved to DR at the February, 2021 meeting.]

The “Down with typename!” paper, P0634R3, overlooked the case of a conversion-type-id in a conversion-function-id:

  template<class T> struct S {
    operator typename T::X(); // typename is not helpful here.
  };

This context should be added to the list of contexts in which a qualified-id is assumed to name a type.