Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2008-04-18 20:34:47


Author: eric_niebler
Date: 2008-04-18 20:34:46 EDT (Fri, 18 Apr 2008)
New Revision: 44565
URL: http://svn.boost.org/trac/boost/changeset/44565

Log:
clean-up in skip_primitives
Text files modified:
   branches/proto/v4/boost/xpressive/regex_primitives.hpp | 9 ++-------
   1 files changed, 2 insertions(+), 7 deletions(-)

Modified: branches/proto/v4/boost/xpressive/regex_primitives.hpp
==============================================================================
--- branches/proto/v4/boost/xpressive/regex_primitives.hpp (original)
+++ branches/proto/v4/boost/xpressive/regex_primitives.hpp 2008-04-18 20:34:46 EDT (Fri, 18 Apr 2008)
@@ -122,18 +122,13 @@
         template<typename Expr, typename State, typename Data>
         struct impl : proto::transform_impl<Expr, State, Data>
         {
- typedef typename impl::expr expr_type;
- typedef typename impl::state state_type;
-
             typedef
                 typename proto::shift_right<
                     typename proto::unary_expr<
                         keeper_tag
- , typename proto::dereference<
- typename state_type::proto_derived_expr // remove the const &
- >::type
+ , typename proto::dereference<State>::type
>::type
- , typename expr_type::proto_derived_expr // remove the const &
+ , Expr
>::type
             result_type;
 


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