Update of /cvsroot/boost/boost/boost/xpressive/detail/static/transforms
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28127/detail/static/transforms
Modified Files:
as_quantifier.hpp
Log Message:
conditional transform is BS. remove it. proto::if_ does it all.
Index: as_quantifier.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/xpressive/detail/static/transforms/as_quantifier.hpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- as_quantifier.hpp 16 Jun 2007 05:46:15 -0000 1.11
+++ as_quantifier.hpp 19 Jun 2007 06:03:26 -0000 1.12
@@ -19,7 +19,6 @@
#include <boost/xpressive/detail/static/static.hpp>
#include <boost/xpressive/proto/transform/arg.hpp>
#include <boost/xpressive/proto/transform/compose.hpp>
-#include <boost/xpressive/proto/transform/conditional.hpp>
namespace boost { namespace xpressive { namespace detail
{
@@ -250,7 +249,7 @@
// as_optional
template<typename Grammar, bool Greedy>
struct as_optional
- : proto::transform::conditional<
+ : proto::if_<
proto::matches<mpl::_, IsMarkerOrRepeater>
, as_mark_optional<Grammar, Greedy>
, as_default_optional<Grammar, Greedy>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs