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

Modified Files:
        args.hpp context.hpp debug.hpp extends.hpp fusion.hpp 
        generate.hpp traits.hpp 
Log Message:
as_set and as_list_set transforms, and set complement

Index: args.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/args.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- args.hpp    4 Mar 2007 18:07:03 -0000       1.6
+++ args.hpp    5 Apr 2007 20:49:11 -0000       1.7
@@ -53,7 +53,7 @@
             BOOST_STATIC_CONSTANT(long, size = N);
             BOOST_PP_REPEAT(N, BOOST_PROTO_DEFINE_ARG_N, ~)
             BOOST_PP_REPEAT_FROM_TO(N, BOOST_PROTO_MAX_ARITY, 
BOOST_PROTO_DEFINE_VOID_N, ~)
-            
+
             /// INTERNAL ONLY
             ///
             typedef BOOST_PP_CAT(Arg, BOOST_PP_DEC(N)) back_;

Index: context.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/context.hpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- context.hpp 5 Apr 2007 01:25:40 -0000       1.20
+++ context.hpp 5 Apr 2007 20:49:11 -0000       1.21
@@ -392,7 +392,7 @@
             {
                 inner_context();
                 using Context::operator ();
-                struct private_type_ {};
+                struct private_type_ { private_type_ const &operator,(int) 
const { return *this; } };
                 typedef private_type_ const 
&(*pointer_to_function)(BOOST_PP_ENUM_PARAMS(BOOST_PP_INC(N), detail::dont_care 
BOOST_PP_INTERCEPT));
                 operator pointer_to_function() const;
             };
@@ -412,10 +412,10 @@
                         sizeof(yes_type) ==
                         sizeof(
                             check(
-                                sprivate_(
+                                (sprivate_(
                                     typename Expr::tag_type()
                                     BOOST_PP_ENUM_TRAILING(N, 
BOOST_PROTO_ARG_N, sexpr_)
-                                )
+                                ), 0)
                             )
                     )));
                 typedef mpl::bool_<value> type;

Index: debug.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/debug.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- debug.hpp   9 Jan 2007 22:40:36 -0000       1.2
+++ debug.hpp   5 Apr 2007 20:49:11 -0000       1.3
@@ -110,7 +110,7 @@
             template<typename Tag, typename Args>
             void operator()(expr<Tag, Args, 1> const &expr) const
             {
-                this->sout_ << std::setw(this->depth_) << (this->first_? "" : 
", ") 
+                this->sout_ << std::setw(this->depth_) << (this->first_? "" : 
", ")
                     << proto_tag_name(Tag()) << "(\n";
                 display_expr display(this->depth_ + 4, this->sout_);
                 display(proto::arg(expr));
@@ -121,7 +121,7 @@
             template<typename Tag, typename Args>
             void operator()(expr<Tag, Args, 2> const &expr) const
             {
-                this->sout_ << std::setw(this->depth_) << (this->first_? "" : 
", ") 
+                this->sout_ << std::setw(this->depth_) << (this->first_? "" : 
", ")
                     << proto_tag_name(Tag()) << "(\n";
                 display_expr display(this->depth_ + 4, this->sout_);
                 display(proto::left(expr));

Index: extends.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/extends.hpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- extends.hpp 5 Apr 2007 01:25:40 -0000       1.28
+++ extends.hpp 5 Apr 2007 20:49:11 -0000       1.29
@@ -228,7 +228,7 @@
     ///     my_terminal\<int\> _1, _2;
     ///     _1 + _2; // OK, uses proto::operator+
     ///
-    /// Without the second Dummy template parameter, Proto's operator 
+    /// Without the second Dummy template parameter, Proto's operator
     /// overloads would not be considered by name lookup.
     struct is_proto_expr
     {};

Index: fusion.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/fusion.hpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- fusion.hpp  31 Mar 2007 07:40:19 -0000      1.26
+++ fusion.hpp  5 Apr 2007 20:49:11 -0000       1.27
@@ -79,7 +79,7 @@
         template<typename Expr>
         struct result
         {
-            typedef 
+            typedef
                 typename Context::template eval<
                     typename remove_reference<Expr>::type
                 >::result_type

Index: generate.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/generate.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- generate.hpp        14 Feb 2007 08:03:06 -0000      1.1
+++ generate.hpp        5 Apr 2007 20:49:11 -0000       1.2
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 /// \file generate.hpp
-/// Contains definition of generate\<\> class template, which end users can 
+/// Contains definition of generate\<\> class template, which end users can
 /// specialize for generating domain-specific expression wrappers.
 //
 //  Copyright 2004 Eric Niebler. Distributed under the Boost

Index: traits.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/traits.hpp,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- traits.hpp  5 Apr 2007 01:25:40 -0000       1.46
+++ traits.hpp  5 Apr 2007 20:49:11 -0000       1.47
@@ -140,7 +140,7 @@
 
             // left
                 // BUGBUG this forces the instantiation of Expr. Couldn't we
-                // partially specialize left<> on expr< T, A > and 
+                // partially specialize left<> on expr< T, A > and
                 // ref< expr< T, A > > and return A::arg0 ?
             template<typename Expr>
             struct left
@@ -470,7 +470,7 @@
         /// \overload
         ///
         template<typename N, typename Expr>
-        typename result_of::arg<Expr, N>::reference 
+        typename result_of::arg<Expr, N>::reference
         arg(Expr &expr BOOST_PROTO_DISABLE_IF_IS_CONST(Expr))
         {
             return result_of::arg<Expr, N>::call(expr);
@@ -479,7 +479,7 @@
         /// \overload
         ///
         template<typename N, typename Expr>
-        typename result_of::arg<Expr, N>::const_reference 
+        typename result_of::arg<Expr, N>::const_reference
         arg(Expr const &expr)
         {
             return result_of::arg<Expr, N>::call(expr);


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