Title
Dependent simple-template-ids in base-specifiers and mem-initializers
Status
dup
Section
11.7 [class.derived]
Submitter
Doug Gregor

Created on 2010-01-12.00:00:00 last changed 173 months ago

Messages

Date: 2010-08-15.00:00:00

Rationale (August, 2010):

This issue is a duplicate of issue 314.

Date: 2022-11-20.07:54:16

Although accepted by several compilers and used in popular code, the grammar currently does not permit the use of a dependent template name in a base-specifier or mem-initializer-id, for example:

    template<typename T, typename U>
    struct X : T::template apply<U> { };

There does not seem to be a good reason to reject this usage.

History
Date User Action Args
2010-08-23 00:00:00adminsetmessages: + msg2961
2010-08-23 00:00:00adminsetstatus: open -> dup
2010-01-12 00:00:00admincreate