
6 Feb
2004
6 Feb
'04
4:01 a.m.
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Eric Friedman
template <typename T> struct is_variant : mpl::false_ {};
template <BOOST_VARIANT_ENUM_PARAMS(typename T)> struct is_variant< variant<BOOST_VARIANT_ENUM_PARAMS(T)> > : mpl::true_ {};
should do the trick. If this is deemed useful, I can include it in the next release. For now, BOOST_VARIANT_ENUM_PARAMS should cover you.
Yes that's much better. I don't know why I was making it so difficult. Thanks!