Boost logo

Boost :

Subject: [boost] [Variant] C++11 variadic template implementation
From: Florian Goujeon (florian.goujeon_at_[hidden])
Date: 2012-04-15 05:57:02

Hi Boosters,

I'd like to know if anybody were working on a C++11 version (using variadic

templates) of Boost.Variant.

I currently use the 'classic' version in my project, but since I need

more-than-20-type variants, the compilation take a lot of time (extending the

number of types that variant can support forces you to disable the use of

precompiled headers). Plus, I'll need to use 70 type variants (MPL lists are

physically limited to 50 types).

If nobody has started to implement such a version yet, I'd be pleased to


I've written an implementation. It's incomplete and far from perfect, but it

could (hopefully) be a viable working basis.

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