Update of /cvsroot/boost/boost/boost/xpressive/detail/static
In directory 
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14120/boost/xpressive/detail/static

Modified Files:
        is_pure.hpp width_of.hpp 
Log Message:
rename all proto tag types, move into tag:: namespace

Index: is_pure.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/static/is_pure.hpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- is_pure.hpp 2 Nov 2006 06:56:42 -0000       1.10
+++ is_pure.hpp 1 Dec 2006 05:46:05 -0000       1.11
@@ -43,27 +43,27 @@
     struct is_pure_impl;
 
     template<typename Matcher>
-    struct is_pure_impl<proto::terminal_tag, Matcher, void>
+    struct is_pure_impl<proto::tag::terminal, Matcher, void>
       : mpl::bool_<as_matcher_type<Matcher>::type::pure>
     {};
 
     template<typename Left, typename Right>
-    struct is_pure_impl<proto::right_shift_tag, Left, Right>
+    struct is_pure_impl<proto::tag::right_shift, Left, Right>
       : BOOST_XPR_AND_PURE_(is_pure<Left>, is_pure<Right>)
     {};
 
     template<typename Left, typename Right>
-    struct is_pure_impl<proto::bitor_tag, Left, Right>
+    struct is_pure_impl<proto::tag::bitwise_or, Left, Right>
       : BOOST_XPR_AND_PURE_(is_pure<Left>, is_pure<Right>)
     {};
 
     template<typename Right>
-    struct is_pure_impl<proto::assign_tag, basic_mark_tag, Right>
+    struct is_pure_impl<proto::tag::assign, basic_mark_tag, Right>
       : mpl::false_
     {};
 
     template<typename Right>
-    struct is_pure_impl<proto::assign_tag, set_initializer_type, Right>
+    struct is_pure_impl<proto::tag::assign, set_initializer_type, Right>
       : mpl::true_
     {};
 
@@ -89,25 +89,25 @@
 
     // when complementing a set or an assertion, the purity is that of the set 
(true) or the assertion
     template<typename Expr>
-    struct is_pure_impl<proto::complement_tag, Expr, void>
+    struct is_pure_impl<proto::tag::complement, Expr, void>
       : is_pure<Expr>
     {};
 
     // The comma is used in list-initialized sets, which are pure
     template<typename Left, typename Right>
-    struct is_pure_impl<proto::comma_tag, Left, Right>
+    struct is_pure_impl<proto::tag::comma, Left, Right>
       : mpl::true_
     {};
 
     // The subscript operator[] is used for sets, as in set['a' | 
range('b','h')]
     // It is also used for actions, which by definition have side-effects and 
thus are impure
     template<typename Left, typename Right>
-    struct is_pure_impl<proto::subscript_tag, Left, Right>
+    struct is_pure_impl<proto::tag::subscript, Left, Right>
       : mpl::false_
     {};
 
     template<typename Right>
-    struct is_pure_impl<proto::subscript_tag, set_initializer_type, Right>
+    struct is_pure_impl<proto::tag::subscript, set_initializer_type, Right>
       : mpl::true_
     {
         // If Left is "set" then make sure that Right is pure
@@ -116,17 +116,17 @@
 
     // Quantified expressions are pure IFF they use the simple_repeat_matcher
     template<typename Expr>
-    struct is_pure_impl<proto::unary_plus_tag, Expr, void>
+    struct is_pure_impl<proto::tag::unary_plus, Expr, void>
       : use_simple_repeat<Expr>
     {};
 
     template<typename Expr>
-    struct is_pure_impl<proto::unary_star_tag, Expr, void>
+    struct is_pure_impl<proto::tag::unary_star, Expr, void>
       : use_simple_repeat<Expr>
     {};
 
     template<typename Expr>
-    struct is_pure_impl<proto::logical_not_tag, Expr, void>
+    struct is_pure_impl<proto::tag::logical_not, Expr, void>
       : use_simple_repeat<Expr>
     {};
 
@@ -136,7 +136,7 @@
     {};
 
     template<typename Expr>
-    struct is_pure_impl<proto::unary_minus_tag, Expr, void>
+    struct is_pure_impl<proto::tag::unary_minus, Expr, void>
       : is_pure<Expr>
     {};
 
@@ -164,7 +164,7 @@
     };
 
     template<typename Expr>
-    struct use_simple_repeat<Expr, proto::terminal_tag>
+    struct use_simple_repeat<Expr, proto::tag::terminal>
       : use_simple_repeat_helper<
             as_matcher_type<typename Expr::arg0_type>::type::pure
           , as_matcher_type<typename Expr::arg0_type>::type::quant

Index: width_of.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/static/width_of.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- width_of.hpp        2 Nov 2006 06:56:42 -0000       1.9
+++ width_of.hpp        1 Dec 2006 05:46:05 -0000       1.10
@@ -61,27 +61,27 @@
     struct width_of_impl;
 
     template<typename Matcher>
-    struct width_of_impl<proto::terminal_tag, Matcher, void>
+    struct width_of_impl<proto::tag::terminal, Matcher, void>
       : mpl::size_t<as_matcher_type<Matcher>::type::width>
     {};
 
     template<typename Left, typename Right>
-    struct width_of_impl<proto::right_shift_tag, Left, Right>
+    struct width_of_impl<proto::tag::right_shift, Left, Right>
       : BOOST_XPR_ADD_WIDTH_(width_of<Left>, width_of<Right>)
     {};
 
     template<typename Left, typename Right>
-    struct width_of_impl<proto::bitor_tag, Left, Right>
+    struct width_of_impl<proto::tag::bitwise_or, Left, Right>
       : BOOST_XPR_EQUAL_WIDTH_(width_of<Left>, width_of<Right>)
     {};
 
     template<typename Right>
-    struct width_of_impl<proto::assign_tag, basic_mark_tag, Right>
+    struct width_of_impl<proto::tag::assign, basic_mark_tag, Right>
       : width_of<Right>
     {};
 
     template<typename Right>
-    struct width_of_impl<proto::assign_tag, set_initializer_type, Right>
+    struct width_of_impl<proto::tag::assign, set_initializer_type, Right>
       : mpl::size_t<1>
     {};
 
@@ -113,17 +113,17 @@
     };
 
     template<typename Expr>
-    struct width_of_impl<proto::unary_plus_tag, Expr, void>
+    struct width_of_impl<proto::tag::unary_plus, Expr, void>
       : unknown_width
     {};
 
     template<typename Expr>
-    struct width_of_impl<proto::unary_star_tag, Expr, void>
+    struct width_of_impl<proto::tag::unary_star, Expr, void>
       : unknown_width
     {};
 
     template<typename Expr>
-    struct width_of_impl<proto::logical_not_tag, Expr, void>
+    struct width_of_impl<proto::tag::logical_not, Expr, void>
       : unknown_width
     {};
 
@@ -138,31 +138,31 @@
     {};
 
     template<typename Expr>
-    struct width_of_impl<proto::unary_minus_tag, Expr, void>
+    struct width_of_impl<proto::tag::unary_minus, Expr, void>
       : width_of<Expr>
     {};
 
     // when complementing a set or an assertion, the width is that of the set 
(1) or the assertion (0)
     template<typename Expr>
-    struct width_of_impl<proto::complement_tag, Expr, void>
+    struct width_of_impl<proto::tag::complement, Expr, void>
       : width_of<Expr>
     {};
 
     // The comma is used in list-initialized sets, and the width of sets are 1
     template<typename Left, typename Right>
-    struct width_of_impl<proto::comma_tag, Left, Right>
+    struct width_of_impl<proto::tag::comma, Left, Right>
       : mpl::size_t<1>
     {};
 
     // The subscript operator[] is used for sets, as in set['a' | 
range('b','h')], 
     // or for actions as in (any >> expr)[ action ]
     template<typename Left, typename Right>
-    struct width_of_impl<proto::subscript_tag, Left, Right>
+    struct width_of_impl<proto::tag::subscript, Left, Right>
       : width_of<Left>
     {};
 
     template<typename Right>
-    struct width_of_impl<proto::subscript_tag, set_initializer_type, Right>
+    struct width_of_impl<proto::tag::subscript, set_initializer_type, Right>
       : mpl::size_t<1>
     {
         // If Left is "set" then make sure that Right has a width_of 1


-------------------------------------------------------------------------
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

Reply via email to