Boost logo

Boost :

Subject: Re: [boost] C++11 Metaprogramming
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2012-04-01 17:39:54

> > From a pure meta-programming perspective, I guess the only real
> > addition is variadic templates.
> > However, there is the problem that they're fairly limited and that one
> > may not expand them as the arguments of a non-variadic template.
> I thought that was allowed. At least, GCC supports it since 4.7, and its
> error message for it in 4.6 was
> "sorry, unimplemented: cannot expand 'Args ...' into a fixed-length argument list"
> which suggests the feature is not an extension.

The relevant GCC bug report is PR 35722 [1].

It is mentioned there that the change that made this valid was the incorporation

of N2555 [2]. Note in particular the sentence in section 14.3 paragraph 8 that

was struck.





Boost list run by bdawes at, gregod at, cpdaniel at, john at