This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: variadic templates supported in non-c++0x mode


2009/3/10 Paolo Carlini <paolo.carlini@oracle.com>:
>>
>> warning: variadic templates only available with -std=c++0x or -std=gnu++0x
>>
> I'm afraid the behavior you are seeing is by design, and is not specific

In any case the wording of the warning is weird: it says variadic
templates are not available but then it is accepted with just a
warning.

> to variadic templates. It also happens, for example, for:
>
> enum class e { };
>

What is the warning here?

Cheers,

Manuel.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]