Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2008-01-30 18:03:36


Author: eric_niebler
Date: 2008-01-30 18:03:36 EST (Wed, 30 Jan 2008)
New Revision: 43026
URL: http://svn.boost.org/trac/boost/changeset/43026

Log:
minor tweak to make_expr result_of return type calculation
Text files modified:
   trunk/boost/xpressive/proto/make_expr.hpp | 20 ++------------------
   1 files changed, 2 insertions(+), 18 deletions(-)

Modified: trunk/boost/xpressive/proto/make_expr.hpp
==============================================================================
--- trunk/boost/xpressive/proto/make_expr.hpp (original)
+++ trunk/boost/xpressive/proto/make_expr.hpp 2008-01-30 18:03:36 EST (Wed, 30 Jan 2008)
@@ -338,18 +338,6 @@
         ) \
         /**/
 
- namespace utility
- {
- template<typename T>
- struct static_
- {
- static T const value;
- };
-
- template<typename T>
- T const static_<T>::value = T();
- }
-
         namespace detail
         {
             template<typename T, typename Domain>
@@ -667,7 +655,7 @@
                         typename result_of::make_expr<
                             tag::terminal
                           , Domain
- , typename remove_reference<A>::type
+ , A
>::type
                     type;
                 };
@@ -1142,11 +1130,7 @@
                 typename result_of::make_expr<
                     Tag
                   , Domain
- BOOST_PP_ENUM_TRAILING_BINARY_PARAMS(
- N
- , typename remove_reference<A
- , >::type BOOST_PP_INTERCEPT
- )
+ BOOST_PP_ENUM_TRAILING_PARAMS(N, A)
>::type
             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