Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69635 - trunk/boost/ptr_container
From: nesotto_at_[hidden]
Date: 2011-03-07 17:24:04


Author: nesotto
Date: 2011-03-07 17:24:00 EST (Mon, 07 Mar 2011)
New Revision: 69635
URL: http://svn.boost.org/trac/boost/changeset/69635

Log:
added pointee<T>:::type again
Text files modified:
   trunk/boost/ptr_container/indirect_fun.hpp | 12 ++++++------
   1 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/boost/ptr_container/indirect_fun.hpp
==============================================================================
--- trunk/boost/ptr_container/indirect_fun.hpp (original)
+++ trunk/boost/ptr_container/indirect_fun.hpp 2011-03-07 17:24:00 EST (Mon, 07 Mar 2011)
@@ -20,12 +20,13 @@
 
 #ifdef BOOST_NO_SFINAE
 #else
-#include <boost/static_assert.hpp>
-#include <boost/type_traits/is_void.hpp>
 #include <boost/utility/result_of.hpp>
+#include <boost/pointee.hpp>
 #endif // BOOST_NO_SFINAE
 
 #include <boost/assert.hpp>
+#include <boost/static_assert.hpp>
+#include <boost/type_traits/is_void.hpp>
 #include <functional>
 
 
@@ -62,8 +63,7 @@
 #ifdef BOOST_NO_SFINAE
         Result
 #else
- typename ptr_container_detail::make_lazy<
- boost::result_of<const Fun(const T&)>, T>::type
+ typename boost::result_of< const Fun( typename pointee<T>::type& ) >::type
 #endif
         operator()( const T& r ) const
         {
@@ -74,8 +74,8 @@
 #ifdef BOOST_NO_SFINAE
         Result
 #else
- typename ptr_container_detail::make_lazy<
- boost::result_of<const Fun(const T&, const U&)>, T>::type
+ typename boost::result_of< const Fun( typename pointee<T>::type&,
+ typename pointee<U>::type& ) >::type
 #endif
         operator()( const T& r, const U& r2 ) const
         {


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