Title
Variadic templates requiring an empty pack expansion
Status
c++11
Section
13.7.4 [temp.variadic]
Submitter
John Spicer

Created on 2010-12-20.00:00:00 last changed 130 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-12-20.00:00:00

Should the Standard allow declarations of variadic templates or member functions of class templates where only an empty expansion would be well-formed? For example,

    template<typename ... T> struct A {
      void operator++(int, T... t);
    };
    template<typename ... T> union X: T... { };
    template<typename ... T> struct A: T..., T... { };
History
Date User Action Args
2014-03-03 00:00:00adminsetstatus: fdis -> c++11
2011-04-10 00:00:00adminsetmessages: + msg3386
2011-04-10 00:00:00adminsetstatus: open -> fdis
2010-12-20 00:00:00admincreate