make_variant_over an mpl::vector: Compilation fails on gcc
I ran into a bizarre problem trying to build a variant from an MPL vector.
The compilation of make_variant_over seems to fail when given any vector
which a) uses all its template arguments, and b) contains *only*
user-defined types; ones with at least one built-in type work fine! The
problem occurs at least with gcc 3.3.5 and gcc 3.4.4 20050203 prerelease,
on Debian unstable/x86. The following code demonstrates the problem:
////////////////////////////////////////////////////////////////////////
#include
participants (1)
-
Johannes Dahlström