
ok -- http://www.research.att.com/~bs/C++0xFAQ.html#variadic-templates which compiler supports this already? Peter "Peter Foelsche" <peter_foelsche@agilent.com> wrote in message news:h994k1$444$1@ger.gmane.org...
do you mean an implementation which is supposed to be used like this:
typedef variant<boost::mpl::set<int, char, long, double, const char *> > CVariant;
"Larry Evans" <cppljevans@suddenlink.net> wrote in message news:h95s8r$1i1$1@ger.gmane.org...
Is anyone working on a variadic template version of variant, i.e. one that defined as:
template<typename... T>class variant;
instead of:
template < typename T0 = detail::variant::void_ , typename T1 = detail::variant::void_ ... , typename T19 = detail::variant::void_
class variant;
?
I'm thinking of attempting that, but I'd hate to waste time if someone else has already done it or made some progress on it. Although BoostCon09 did have a workshop on CXX0x:
http://www.boostcon.com/community/wiki/show/Start/HandsOnCXX0x/
the sandbox directory for that:
https://svn.boost.org/svn/boost/sandbox/boost0x
didn't appear to use the variadic template feature in variant:
https://svn.boost.org/svn/boost/sandbox/boost0x/boost/variant/variant_fwd.hp...
TIA.
-regards, Larry
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost