Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2007-12-02 19:46:58


Author: eric_niebler
Date: 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
New Revision: 41615
URL: http://svn.boost.org/trac/boost/changeset/41615

Log:
nuke trailing whitespace
Text files modified:
   branches/proto/v3/boost/xpressive/basic_regex.hpp | 2 +-
   branches/proto/v3/boost/xpressive/detail/core/matcher/action_matcher.hpp | 2 +-
   branches/proto/v3/boost/xpressive/detail/core/matcher/predicate_matcher.hpp | 2 +-
   branches/proto/v3/boost/xpressive/detail/static/grammar.hpp | 14 +++++++-------
   branches/proto/v3/boost/xpressive/detail/utility/symbols.hpp | 10 +++++-----
   branches/proto/v3/boost/xpressive/match_results.hpp | 4 ++--
   branches/proto/v3/boost/xpressive/proto/context/default.hpp | 2 +-
   branches/proto/v3/boost/xpressive/proto/deep_copy.hpp | 2 +-
   branches/proto/v3/boost/xpressive/proto/expr.hpp | 2 +-
   branches/proto/v3/boost/xpressive/proto/fusion.hpp | 6 +++---
   branches/proto/v3/boost/xpressive/proto/make_expr.hpp | 4 ++--
   branches/proto/v3/boost/xpressive/proto/operators.hpp | 2 +-
   branches/proto/v3/boost/xpressive/proto/proto_fwd.hpp | 6 +++---
   branches/proto/v3/boost/xpressive/proto/tags.hpp | 2 +-
   branches/proto/v3/boost/xpressive/proto/transform/call.hpp | 22 +++++++++++-----------
   branches/proto/v3/boost/xpressive/regex_actions.hpp | 2 +-
   branches/proto/v3/boost/xpressive/regex_compiler.hpp | 2 +-
   branches/proto/v3/libs/xpressive/proto/example/calc2.cpp | 4 ++--
   branches/proto/v3/libs/xpressive/proto/example/calc3.cpp | 4 ++--
   branches/proto/v3/libs/xpressive/proto/example/lazy_vector.cpp | 2 +-
   branches/proto/v3/libs/xpressive/proto/example/tarray.cpp | 2 +-
   branches/proto/v3/libs/xpressive/proto/example/vec3.cpp | 10 +++++-----
   branches/proto/v3/libs/xpressive/proto/example/vector.cpp | 2 +-
   branches/proto/v3/libs/xpressive/proto/test/examples.cpp | 14 +++++++-------
   branches/proto/v3/libs/xpressive/proto/test/main.cpp | 8 ++++----
   25 files changed, 66 insertions(+), 66 deletions(-)

Modified: branches/proto/v3/boost/xpressive/basic_regex.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/basic_regex.hpp (original)
+++ branches/proto/v3/boost/xpressive/basic_regex.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -152,7 +152,7 @@
     /// \return A basic_regex object corresponding to the regular expression
     /// represented by the character range.
     /// \pre [begin,end) is a valid range.
- /// \pre The range of characters specified by [begin,end) contains a
+ /// \pre The range of characters specified by [begin,end) contains a
     /// valid string-based representation of a regular expression.
     /// \throw regex_error when the range of characters has invalid regular
     /// expression syntax.

Modified: branches/proto/v3/boost/xpressive/detail/core/matcher/action_matcher.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/detail/core/matcher/action_matcher.hpp (original)
+++ branches/proto/v3/boost/xpressive/detail/core/matcher/action_matcher.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -215,7 +215,7 @@
>::type
>::type
             temp_type;
-
+
             typedef typename temp_type::type result_type;
 
             result_type operator ()(Expr const &expr, action_context const &ctx) const

Modified: branches/proto/v3/boost/xpressive/detail/core/matcher/predicate_matcher.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/detail/core/matcher/predicate_matcher.hpp (original)
+++ branches/proto/v3/boost/xpressive/detail/core/matcher/predicate_matcher.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -122,7 +122,7 @@
         bool match(match_state<BidiIter> &state, Next const &next) const
         {
             // Predicate is check(assertion), where assertion can be
- // a lambda or a function object.
+ // a lambda or a function object.
             return this->match_(state, next, proto::matches<Predicate, AssertionFunctor>());
         }
 

Modified: branches/proto/v3/boost/xpressive/detail/static/grammar.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/detail/static/grammar.hpp (original)
+++ branches/proto/v3/boost/xpressive/detail/static/grammar.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -197,13 +197,13 @@
         {
             template<typename Sig>
             struct result;
-
+
             template<typename This, typename Visitor>
             struct result<This(Visitor)>
             {
                 typedef typename Visitor::traits_type type;
             };
-
+
             template<typename Visitor>
             typename Visitor::traits_type const &
             operator()(Visitor &visitor) const
@@ -216,13 +216,13 @@
         {
             template<typename Sig>
             struct result;
-
+
             template<typename This, typename Traits>
             struct result<This(Traits)>
             {
                 typedef typename Traits::char_class_type type;
             };
-
+
             template<typename Traits>
             typename Traits::char_class_type
             operator()(Traits const &traits) const
@@ -235,7 +235,7 @@
         {
             template<typename Sig>
             struct result;
-
+
             template<typename This, typename Posix, typename Visitor, typename YesNo>
             struct result<This(Posix, Visitor, YesNo)>
             {
@@ -316,7 +316,7 @@
         struct CharLiteral<char>
           : proto::terminal<char>
         {};
-
+
         struct _one : mpl::int_<1> {};
 
         ///////////////////////////////////////////////////////////////////////////
@@ -337,7 +337,7 @@
>
>
         {};
-
+
         struct fill_list_set : transform_base
         {
             template<typename Sig>

Modified: branches/proto/v3/boost/xpressive/detail/utility/symbols.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/detail/utility/symbols.hpp (original)
+++ branches/proto/v3/boost/xpressive/detail/utility/symbols.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -74,9 +74,9 @@
 
     private:
         ///////////////////////////////////////////////////////////////////////////////
- // struct node : a node in the TST.
+ // struct node : a node in the TST.
         // The "eq" field stores the result pointer when ch is zero.
- //
+ //
         struct node
             : boost::noncopyable
         {
@@ -124,7 +124,7 @@
 
         ///////////////////////////////////////////////////////////////////////////////
         // insert : insert a string into the TST
- //
+ //
         template<typename Trans>
         node* insert(node* p, key_iterator &begin, key_iterator end, result_type r, Trans trans) const
         {
@@ -167,7 +167,7 @@
         ///////////////////////////////////////////////////////////////////////////////
         // conditional rotation : the goal is to minimize the overall
         // weighted path length of each binary search tree
- //
+ //
         bool cond_rotation(bool left, node* const i, node* const j) const
         {
             // don't rotate top node in binary search tree
@@ -200,7 +200,7 @@
 
         ///////////////////////////////////////////////////////////////////////////////
         // search : find a string in the TST
- //
+ //
         template<typename BidiIter, typename Trans>
         result_type search(BidiIter &begin, BidiIter end, Trans trans, node* p) const
         {

Modified: branches/proto/v3/boost/xpressive/match_results.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/match_results.hpp (original)
+++ branches/proto/v3/boost/xpressive/match_results.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -324,8 +324,8 @@
         return *this;
     }
 
- /// Returns one plus the number of marked sub-expressions in the regular
- /// expression that was matched if *this represents the result of a
+ /// Returns one plus the number of marked sub-expressions in the regular
+ /// expression that was matched if *this represents the result of a
     /// successful match. Otherwise returns 0.
     size_type size() const
     {

Modified: branches/proto/v3/boost/xpressive/proto/context/default.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/proto/context/default.hpp (original)
+++ branches/proto/v3/boost/xpressive/proto/context/default.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -243,7 +243,7 @@
         BOOST_PROTO_BINARY_OP_RESULT(^=, proto::tag::bitwise_xor_assign)
 
         template<typename Expr, typename Context>
-
+
         struct default_eval<Expr, Context, proto::tag::terminal>
         {
             typedef

Modified: branches/proto/v3/boost/xpressive/proto/deep_copy.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/proto/deep_copy.hpp (original)
+++ branches/proto/v3/boost/xpressive/proto/deep_copy.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -61,7 +61,7 @@
                 return Expr::proto_domain::make(expr_type::make(proto::arg(expr)));
             }
         };
-
+
         template<typename Expr, typename... Args>
         struct deep_copy_impl<Expr, args<Args...> >
         {

Modified: branches/proto/v3/boost/xpressive/proto/expr.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/proto/expr.hpp (original)
+++ branches/proto/v3/boost/xpressive/proto/expr.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -103,7 +103,7 @@
             }
 
             typedef
- typename
+ typename
                     exprns_::detail::address_of_hack<Tag, typename Args::cons_type::car_type>
                 ::type
             address_of_hack_type_;

Modified: branches/proto/v3/boost/xpressive/proto/fusion.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/proto/fusion.hpp (original)
+++ branches/proto/v3/boost/xpressive/proto/fusion.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -75,7 +75,7 @@
 
         Expr &expr_;
     };
-
+
     namespace functional
     {
         struct flatten
@@ -204,7 +204,7 @@
             template<typename Iterator>
             struct apply
             {
- typedef
+ typedef
                     typename proto::result_of::arg_c<
                         typename Iterator::expr_type
                       , Iterator::index
@@ -329,7 +329,7 @@
             template<typename Sequence>
             struct apply
             {
- typedef
+ typedef
                     proto::detail::expr_iterator<
                         Sequence
                       , 0 == Sequence::proto_arity ? 1 : Sequence::proto_arity

Modified: branches/proto/v3/boost/xpressive/proto/make_expr.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/proto/make_expr.hpp (original)
+++ branches/proto/v3/boost/xpressive/proto/make_expr.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -295,7 +295,7 @@
             template<typename Sig>
             struct result
             {};
-
+
             template<typename This, typename Domain>
             struct result<This(Domain)>
               : domain_of<UNCVREF(Domain)>
@@ -307,7 +307,7 @@
             template<typename Sig>
             struct result
             {};
-
+
             template<typename This, typename... Args>
             struct result<This(Args...)>
             {

Modified: branches/proto/v3/boost/xpressive/proto/operators.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/proto/operators.hpp (original)
+++ branches/proto/v3/boost/xpressive/proto/operators.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -248,7 +248,7 @@
             return result_of::make_expr<tag::if_else_, A, B, C>::call(a, b, c);
         }
     }
-
+
     using exprns_::if_else;
 
 #define BOOST_PROTO_DEFINE_UNARY_OPERATOR(OP, TAG, TRAIT, DOMAIN, POST) \

Modified: branches/proto/v3/boost/xpressive/proto/proto_fwd.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/proto/proto_fwd.hpp (original)
+++ branches/proto/v3/boost/xpressive/proto/proto_fwd.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -93,7 +93,7 @@
     namespace tag
     {
         struct terminal;
- struct posit;
+ struct posit;
         struct negate;
         struct dereference;
         struct complement;
@@ -210,11 +210,11 @@
     arg_c(Expr &expr);
 
     template<long N, typename Expr>
- typename result_of::arg_c<Expr, N>::const_reference
+ typename result_of::arg_c<Expr, N>::const_reference
     arg_c(Expr const &expr);
 
     template<typename T>
- typename result_of::as_arg<T>::type
+ typename result_of::as_arg<T>::type
     as_arg(T &&t);
 
     namespace op

Modified: branches/proto/v3/boost/xpressive/proto/tags.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/proto/tags.hpp (original)
+++ branches/proto/v3/boost/xpressive/proto/tags.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -18,7 +18,7 @@
     {
 
         struct terminal {};
- struct posit {};
+ struct posit {};
         struct negate {};
         struct dereference {};
         struct complement {};

Modified: branches/proto/v3/boost/xpressive/proto/transform/call.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/proto/transform/call.hpp (original)
+++ branches/proto/v3/boost/xpressive/proto/transform/call.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -25,7 +25,7 @@
             {
                 return const_cast<T &>(t);
             }
-
+
             struct dont_care { dont_care(...); };
 
             typedef char (&yes_type)[2];
@@ -40,7 +40,7 @@
             yes_type check_fun_arity(T const &);
 
             no_type check_fun_arity(private_type_ const &);
-
+
             template<typename Fun>
             struct callable1_wrap : Fun
             {
@@ -68,7 +68,7 @@
                   ? 1
                   : 3;
             };
-
+
             template<typename Fun, typename A0, typename A1>
             struct arity2
             {
@@ -86,7 +86,7 @@
             struct call3
             {
                 typedef typename boost::result_of<Fun(Expr, State, Visitor)>::type type;
-
+
                 template<typename A, typename B, typename C>
                 static type call(A &&expr, B &&state, C &&visitor)
                 {
@@ -94,7 +94,7 @@
                     return f(expr, state, visitor);
                 }
             };
-
+
             template<typename Fun, typename Expr, typename State, typename Visitor
               , int Arity = arity1<Fun, Expr>::value>
             struct call1
@@ -105,7 +105,7 @@
             struct call1<Fun, Expr, State, Visitor, 1>
             {
                 typedef typename boost::result_of<Fun(Expr)>::type type;
-
+
                 template<typename A, typename B, typename C>
                 static type call(A &&expr, B &&, C &&)
                 {
@@ -124,7 +124,7 @@
             struct call2<Fun, Expr, State, Visitor, 2>
             {
                 typedef typename boost::result_of<Fun(Expr, State)>::type type;
-
+
                 template<typename A, typename B, typename C>
                 static type call(A &&expr, B &&state, C &&)
                 {
@@ -133,7 +133,7 @@
                 }
             };
         }
-
+
         template<typename Fun, typename... Args>
         struct call : transform_base
         {
@@ -155,7 +155,7 @@
                 return f(when<_, Args>()(expr, state, visitor)...);
             }
         };
-
+
         template<typename Fun, typename Arg0>
         struct call<Fun, Arg0> : transform_base
         {
@@ -183,7 +183,7 @@
                 );
             }
         };
-
+
         template<typename Fun, typename Arg0, typename Arg1>
         struct call<Fun, Arg0, Arg1> : transform_base
         {
@@ -211,7 +211,7 @@
                 );
             }
         };
-
+
         template<typename Fun, typename Arg0, typename Arg1, typename Arg2>
         struct call<Fun, Arg0, Arg1, Arg2> : transform_base
         {

Modified: branches/proto/v3/boost/xpressive/regex_actions.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/regex_actions.hpp (original)
+++ branches/proto/v3/boost/xpressive/regex_actions.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -111,7 +111,7 @@
           : boost::proto::transform::fold<
                 boost::proto::function<
                     boost::proto::transform::state<boost::proto::terminal<let_tag> >
- , boost::proto::vararg< BindArg< boost::proto::assign<boost::proto::_, boost::proto::_> > >
+ , boost::proto::vararg< BindArg< boost::proto::assign<boost::proto::_, boost::proto::_> > >
>
>
         {};

Modified: branches/proto/v3/boost/xpressive/regex_compiler.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/regex_compiler.hpp (original)
+++ branches/proto/v3/boost/xpressive/regex_compiler.hpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -106,7 +106,7 @@
     /// represented by the character range.
     /// \pre InputIter is a model of the InputIterator concept.
     /// \pre [begin,end) is a valid range.
- /// \pre The range of characters specified by [begin,end) contains a
+ /// \pre The range of characters specified by [begin,end) contains a
     /// valid string-based representation of a regular expression.
     /// \throw regex_error when the range of characters has invalid regular
     /// expression syntax.

Modified: branches/proto/v3/libs/xpressive/proto/example/calc2.cpp
==============================================================================
--- branches/proto/v3/libs/xpressive/proto/example/calc2.cpp (original)
+++ branches/proto/v3/libs/xpressive/proto/example/calc2.cpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -5,7 +5,7 @@
 //
 // This example enhances the simple arithmetic expression evaluator
 // in calc1.cpp by using proto::extends to make arithemetic
-// expressions immediately evaluatable with operator(), a-la a
+// expressions immediately evaluatable with operator(), a-la a
 // function object
 
 #include <iostream>
@@ -55,7 +55,7 @@
     typedef
         proto::extends<Expr, calculator_expression<Expr>, calculator_domain>
     base_type;
-
+
     explicit calculator_expression(Expr const &expr = Expr())
       : base_type(expr)
     {}

Modified: branches/proto/v3/libs/xpressive/proto/example/calc3.cpp
==============================================================================
--- branches/proto/v3/libs/xpressive/proto/example/calc3.cpp (original)
+++ branches/proto/v3/libs/xpressive/proto/example/calc3.cpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -5,7 +5,7 @@
 //
 // This example enhances the arithmetic expression evaluator
 // in calc2.cpp by using a proto transform to calculate the
-// number of arguments an expression requires and using a
+// number of arguments an expression requires and using a
 // compile-time assert to guarantee that the right number of
 // arguments are actually specified.
 
@@ -96,7 +96,7 @@
     typedef
         proto::extends<Expr, calculator_expression<Expr>, calculator_domain>
     base_type;
-
+
     explicit calculator_expression(Expr const &expr = Expr())
       : base_type(expr)
     {}

Modified: branches/proto/v3/libs/xpressive/proto/example/lazy_vector.cpp
==============================================================================
--- branches/proto/v3/libs/xpressive/proto/example/lazy_vector.cpp (original)
+++ branches/proto/v3/libs/xpressive/proto/example/lazy_vector.cpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -22,7 +22,7 @@
 using proto::_;
 
 // This grammar describes which lazy vector expressions
-// are allowed; namely, vector terminals and addition
+// are allowed; namely, vector terminals and addition
 // and subtraction of lazy vector expressions.
 struct LazyVectorGrammar
   : proto::or_<

Modified: branches/proto/v3/libs/xpressive/proto/example/tarray.cpp
==============================================================================
--- branches/proto/v3/libs/xpressive/proto/example/tarray.cpp (original)
+++ branches/proto/v3/libs/xpressive/proto/example/tarray.cpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -163,7 +163,7 @@
     TArray &operator =(Expr const & expr)
     {
         // proto::as_expr<TArrayDomain>(expr) is the same as
- // expr unless expr is an integer, in which case it
+ // expr unless expr is an integer, in which case it
         // is made into a TArrayExpr terminal first.
         return this->assign(proto::as_expr<TArrayDomain>(expr));
     }

Modified: branches/proto/v3/libs/xpressive/proto/example/vec3.cpp
==============================================================================
--- branches/proto/v3/libs/xpressive/proto/example/vec3.cpp (original)
+++ branches/proto/v3/libs/xpressive/proto/example/vec3.cpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -43,21 +43,21 @@
 };
 
 // Here is an evaluation context that counts the number
-// of Vec3 terminals in an expression.
+// of Vec3 terminals in an expression.
 struct CountLeavesCtx
   : callable_context< CountLeavesCtx, null_context >
 {
     CountLeavesCtx()
       : count(0)
       {}
-
+
       typedef void result_type;
-
+
       void operator()(tag::terminal, int const(&)[3])
       {
           ++this->count;
       }
-
+
       int count;
 };
 
@@ -132,7 +132,7 @@
     // CountLeavesCtx evaluation context.
     CountLeavesCtx ctx;
     eval(expr, ctx);
-
+
     // This is another way to count the leaves using a transform.
     int i = 0;
     assert( CountLeaves()(expr, i, i) == ctx.count );

Modified: branches/proto/v3/libs/xpressive/proto/example/vector.cpp
==============================================================================
--- branches/proto/v3/libs/xpressive/proto/example/vector.cpp (original)
+++ branches/proto/v3/libs/xpressive/proto/example/vector.cpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -124,7 +124,7 @@
 {};
 
 // Here is VectorExpr, which extends a proto expr type by
-// giving it an operator[] which uses the VectorSubscriptCtx
+// giving it an operator[] which uses the VectorSubscriptCtx
 // to evaluate an expression with a given index.
 template<typename Expr>
 struct VectorExpr

Modified: branches/proto/v3/libs/xpressive/proto/test/examples.cpp
==============================================================================
--- branches/proto/v3/libs/xpressive/proto/test/examples.cpp (original)
+++ branches/proto/v3/libs/xpressive/proto/test/examples.cpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -52,7 +52,7 @@
 //[ binary_arity
 /*<< The `CalculatorArity` is a transform for calculating
 the arity of a calculator expression. It will be define in
-terms of `binary_arity`, which is defined in terms of
+terms of `binary_arity`, which is defined in terms of
 `CalculatorArity`; hence, the definition is recursive.>>*/
 struct CalculatorArity;
 
@@ -62,7 +62,7 @@
 struct unary_arity
   /*<< Custom transforms should inherit from
   transform_base. In some cases, (e.g., when the transform
- is a template), it is also necessary to specialize
+ is a template), it is also necessary to specialize
   the proto::is_transform<> trait. >>*/
   : transform_base
 {
@@ -98,7 +98,7 @@
 struct binary_arity
   /*<< All custom transforms should inherit from
   transform_base. In some cases, (e.g., when the transform
- is a template), it is also necessary to specialize
+ is a template), it is also necessary to specialize
   the proto::is_transform<> trait. >>*/
   : transform_base
 {
@@ -225,12 +225,12 @@
 // them to doubles.
 struct Promote
   : or_<
- /*<< Match a `terminal<float>`, then construct a
+ /*<< Match a `terminal<float>`, then construct a
         `terminal<double>::type` with the `float`. >>*/
         when<terminal<float>, terminal<double>::type(_arg) >
       , when<terminal<_> >
- /*<< `nary_expr<>` has a pass-through transform which
- will transform each child sub-expression using the
+ /*<< `nary_expr<>` has a pass-through transform which
+ will transform each child sub-expression using the
       `Promote` transform. >>*/
       , when<nary_expr<_, vararg<Promote> > >
>
@@ -312,7 +312,7 @@
     int j = 0; // not used, dummy state and visitor parameter
 
     std::pair<int, double> p2 = MakePair()( make_pair_(1, 3.14), j, j );
-
+
     std::cout << p2.first << std::endl;
     std::cout << p2.second << std::endl;
     //]

Modified: branches/proto/v3/libs/xpressive/proto/test/main.cpp
==============================================================================
--- branches/proto/v3/libs/xpressive/proto/test/main.cpp (original)
+++ branches/proto/v3/libs/xpressive/proto/test/main.cpp 2007-12-02 19:46:56 EST (Sun, 02 Dec 2007)
@@ -194,7 +194,7 @@
 {
     int dummy=0;
     noncopy non_;
-
+
     terminal<int>::type u = {42};
     terminal<int>::type const t = {42};
 
@@ -269,14 +269,14 @@
 
     terminal<float>::type ff = {1.F};
     check<Promote>(ff+ff);
- plus<terminal<double>::type, terminal<double>::type>::type dd =
+ plus<terminal<double>::type, terminal<double>::type>::type dd =
         Promote()(ff+ff, dummy, non_);
 
- plus<terminal<double>::type, terminal<int>::type>::type du =
+ plus<terminal<double>::type, terminal<int>::type>::type du =
         Promote()(ff+u, dummy, non_);
     std::printf("%g %d\n", arg_c<0>(arg_c<0>(du)), arg_c<0>(arg_c<1>(du)));
 
- plus<negate<terminal<double>::type>::type, terminal<int>::type>::type ndu =
+ plus<negate<terminal<double>::type>::type, terminal<int>::type>::type ndu =
         Promote()(+ff+u, dummy, non_);
     std::printf("%g %d\n", arg_c<0>(arg_c<0>(arg_c<0>(ndu))), arg_c<0>(arg_c<1>(ndu)));
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk