Update of /cvsroot/boost/boost/boost/xpressive/proto
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv13555
Modified Files:
matches.hpp
Log Message:
nary_expr<_,vararg<_> > shouldn't match terminals
Index: matches.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/matches.hpp,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- matches.hpp 6 Jul 2007 08:54:43 -0000 1.54
+++ matches.hpp 26 Jul 2007 21:02:41 -0000 1.55
@@ -270,6 +270,11 @@
: vararg_matches< Args1, Args2, typename Args2::back_, (N1+2 >
N2), (N2 > N1) >
{};
+ template<typename Args1, typename Args2, long N2>
+ struct matches_impl< expr<tag::terminal, Args1, 0>, expr<proto::_,
Args2, N2> >
+ : mpl::false_
+ {};
+
template<typename Tag, typename Args1, typename Args2>
struct matches_impl< expr<Tag, Args1, 1>, expr<Tag, Args2, 1> >
: matches_impl<typename Args1::arg0::proto_base_expr, typename
Args2::arg0::proto_base_expr>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs