Update of /cvsroot/boost/boost/boost/xpressive/proto/transform
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7821/transform

Modified Files:
        pass_through.hpp 
Log Message:
get more stuff out of the proto namespace

Index: pass_through.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/xpressive/proto/transform/pass_through.hpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- pass_through.hpp    25 Jun 2007 07:22:43 -0000      1.13
+++ pass_through.hpp    6 Jul 2007 08:54:43 -0000       1.14
@@ -52,7 +52,7 @@
                     return expr;
                 }
             };
-        }
+        } // namespace detail
 
         template<typename Grammar>
         struct pass_through
@@ -78,34 +78,37 @@
                 return apply<Expr, State, Visitor>::call(expr.proto_base(), 
state, visitor);
             }
         };
+    } // namespace transform
 
-    }
-
-    template<typename Grammar>
-    struct has_pass_through_transform
+    namespace has_transformns_
     {
-        has_pass_through_transform() {}
+        template<typename Grammar>
+        struct has_pass_through_transform
+        {
+            has_pass_through_transform() {}
 
-        template<typename Expr, typename State, typename Visitor>
-        struct apply
-          : transform::detail::pass_through_impl<
-                Grammar
-              , typename Expr::proto_base_expr
-              , State
-              , Visitor
-              , Expr::proto_arity::value
-            >
-        {};
+            template<typename Expr, typename State, typename Visitor>
+            struct apply
+              : transform::detail::pass_through_impl<
+                    Grammar
+                  , typename Expr::proto_base_expr
+                  , State
+                  , Visitor
+                  , Expr::proto_arity::value
+                >
+            {};
 
-        template<typename Expr, typename State, typename Visitor>
-        static typename apply<Expr, State, Visitor>::type
-        call(Expr const &expr, State const &state, Visitor &visitor)
-        {
-            return apply<Expr, State, Visitor>::call(expr.proto_base(), 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 apply<Expr, State, Visitor>::call(expr.proto_base(), 
state, visitor);
+            }
+        };
 
-    }}
+    } // namespace has_transformns_
+    
+    }} // namespace boost::proto
 
     #endif
 


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

Reply via email to