Index: boost/spirit/home/support/container.hpp =================================================================== --- boost/spirit/home/support/container.hpp (Revision 86235) +++ boost/spirit/home/support/container.hpp (Arbeitskopie) @@ -59,6 +59,18 @@ : is_container {}; +#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && defined(BOOST_VARIANT_USE_VARIADIC_TEMPLATES) + template + struct is_container< boost::variant > + : is_container + {}; + + template + struct is_container< boost::variant > + : mpl::bool_::value || + is_container< boost::variant >::value> {}; + +#else #define BOOST_SPIRIT_IS_CONTAINER(z, N, data) \ is_container::value || \ /***/ @@ -76,6 +88,7 @@ {}; #undef BOOST_SPIRIT_IS_CONTAINER +#endif template struct is_iterator_range