Index: boost/proto/matches.hpp =================================================================== --- boost/proto/matches.hpp (revision 81703) +++ boost/proto/matches.hpp (working copy) @@ -500,7 +500,7 @@ /// [0,n), \c Ax and \c Bx are types /// such that \c Ax lambda-matches \c Bx template - struct matches + struct matches : detail::matches_< typename Expr::proto_derived_expr , typename Expr::proto_grammar @@ -511,13 +511,18 @@ /// INTERNAL ONLY /// template - struct matches + struct matches : detail::matches_< typename Expr::proto_derived_expr , typename Expr::proto_grammar , typename Grammar::proto_grammar > {}; + + template + struct matches + : mpl::false_ + {}; /// \brief A wildcard grammar element that matches any expression, /// and a transform that returns the current expression unchanged. Index: boost/proto/proto_fwd.hpp =================================================================== --- boost/proto/proto_fwd.hpp (revision 81703) +++ boost/proto/proto_fwd.hpp (working copy) @@ -521,7 +521,7 @@ template struct domain_of; - template + template struct matches; // Generic expression metafunctions and