
16 Apr
2012
16 Apr
'12
9:06 a.m.
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.