Boost logo

Boost :

Subject: Re: [boost] [Variant] C++11 variadic template implementation
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-04-16 05:06:28

On 15/04/12 21:17, Larry Evans wrote:

> Wouldn't variadic templates avoid one of the problems the OP
> mentioned:
> (extending the number of types that variant can support forces
> you to disable the use of precompiled headers).
> ? OTOH, it may be that using variadic templates would not
> lessen the compile time. Is that what you mean by "would not help"?

I was under the impression that Boost.Variant required a switch
statement, that cannot be generated by variadic templates.

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