Index: boost/spirit/home/qi/auxiliary/attr_cast.hpp =================================================================== --- boost/spirit/home/qi/auxiliary/attr_cast.hpp (revision 84235) +++ boost/spirit/home/qi/auxiliary/attr_cast.hpp (working copy) @@ -142,4 +142,14 @@ }}} +namespace boost { namespace spirit { namespace traits +{ + /////////////////////////////////////////////////////////////////////////// + template + struct handles_container, Attribute + , Context, Iterator> + : traits::is_container {}; +}}} + #endif Index: boost/spirit/home/qi/directive/as.hpp =================================================================== --- boost/spirit/home/qi/directive/as.hpp (revision 84235) +++ boost/spirit/home/qi/directive/as.hpp (working copy) @@ -172,7 +172,7 @@ , typename Context, typename Iterator> struct handles_container, Attribute , Context, Iterator> - : mpl::false_ {}; + : traits::is_container {}; }}} #endif