Title
typename in conversion-function-ids
Status
cd6
Section
13.8 [temp.res]
Submitter
Davis Herring

Created on 2019-05-10.00:00:00 last changed 20 months ago

Messages

Date: 2020-11-15.00:00:00

[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.

History
Date User Action Args
2022-08-19 07:54:33adminsetstatus: drwp -> cd6
2021-02-24 00:00:00adminsetstatus: accepted -> drwp
2019-05-10 00:00:00admincreate