Update of /cvsroot/boost/boost/boost/xpressive/proto
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29975/boost/xpressive/proto
Modified Files:
matches.hpp
Log Message:
xpressive transforms use new proto::switch_ for better compile times
Index: matches.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/matches.hpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- matches.hpp 6 Apr 2007 21:03:09 -0000 1.39
+++ matches.hpp 6 Apr 2007 23:59:11 -0000 1.40
@@ -239,7 +239,7 @@
// handle proto::switch_
template<typename Expr, typename Cases>
struct matches_impl<Expr, switch_<Cases> >
- : matches_impl<Expr, typename Cases::template case_<Expr>::type>
+ : matches_impl<Expr, typename Cases::template case_<typename
Expr::tag_type>::type>
{};
}
@@ -298,14 +298,14 @@
template<typename Expr, typename State, typename Visitor>
struct apply
- : Cases::template case_<Expr>::template apply<Expr, State,
Visitor>
+ : Cases::template case_<typename Expr::tag_type>::template
apply<Expr, State, Visitor>
{};
template<typename Expr, typename State, typename Visitor>
static typename apply<Expr, State, Visitor>::type
call(Expr const &expr, State const &state, Visitor &visitor)
{
- return Cases::template case_<Expr>::call(expr, state, visitor);
+ return Cases::template case_<typename
Expr::tag_type>::call(expr, state, visitor);
}
};
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs