Title
Empty pack expansions
Status
c++11
Section
13.7.4 [temp.variadic]
Submitter
James Widman

Created on 2010-02-16.00:00:00 last changed 131 months ago

Messages

Date: 2011-03-15.00:00:00

[Voted into the WP at the March, 2011 meeting as part of paper N3262.]

Date: 2010-02-16.00:00:00

It was intended for empty pack expansions to be useful in contexts like base-specifiers, e.g.,

    template<class... T> struct A : T... {};
    A<> x; // ok?

However, the current wording provides no description of how that might work. (More generally, the problem arises in any context where the pack expansion follows a token that should only be present when the pack expansion is non-empty: following another argument in a function call, etc.)

History
Date User Action Args
2014-03-03 00:00:00adminsetstatus: fdis -> c++11
2011-04-10 00:00:00adminsetmessages: + msg3384
2011-04-10 00:00:00adminsetstatus: drafting -> fdis
2010-08-23 00:00:00adminsetstatus: open -> drafting
2010-02-16 00:00:00admincreate