Boost logo

Boost-Commit :

From: tschwinger_at_[hidden]
Date: 2007-11-11 12:56:22


Author: t_schwinger
Date: 2007-11-11 12:56:21 EST (Sun, 11 Nov 2007)
New Revision: 41008
URL: http://svn.boost.org/trac/boost/changeset/41008

Log:
removes superfluous remove_reference in result computation, as reported by Eric Niebler

Text files modified:
   trunk/boost/fusion/functional/invocation/invoke_function_object.hpp | 3 +--
   1 files changed, 1 insertions(+), 2 deletions(-)

Modified: trunk/boost/fusion/functional/invocation/invoke_function_object.hpp
==============================================================================
--- trunk/boost/fusion/functional/invocation/invoke_function_object.hpp (original)
+++ trunk/boost/fusion/functional/invocation/invoke_function_object.hpp 2007-11-11 12:56:21 EST (Sun, 11 Nov 2007)
@@ -114,8 +114,7 @@
 
             typedef typename boost::result_of<
 #define M(z,j,data) \
- typename boost::remove_reference< \
- typename result_of::at_c<Sequence,j>::type >::type
+ typename result_of::at_c<Sequence,j>::type
                 Function (BOOST_PP_ENUM(N,M,~)) >::type result_type;
 #undef M
 


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