|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49949 - trunk/boost/ptr_container
From: nesotto_at_[hidden]
Date: 2008-11-26 17:43:29
Author: nesotto
Date: 2008-11-26 17:43:29 EST (Wed, 26 Nov 2008)
New Revision: 49949
URL: http://svn.boost.org/trac/boost/changeset/49949
Log:
Fixed problem with using indirect_fun with an abstract base class.
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 2008-11-26 17:43:29 EST (Wed, 26 Nov 2008)
@@ -1,7 +1,7 @@
//
// Boost.Pointer Container
//
-// Copyright Thorsten Ottosen 2003-2005. Use, modification and
+// Copyright Thorsten Ottosen 2003-2007. Use, modification and
// distribution is subject to the Boost Software License, Version
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
@@ -53,7 +53,7 @@
#ifdef BOOST_NO_SFINAE
Result
#else
- BOOST_DEDUCED_TYPENAME result_of< Fun( BOOST_DEDUCED_TYPENAME pointee<T>::type ) >::type
+ BOOST_DEDUCED_TYPENAME result_of< Fun( BOOST_DEDUCED_TYPENAME pointee<T>::type& ) >::type
#endif
operator()( const T& r ) const
{
@@ -64,8 +64,8 @@
#ifdef BOOST_NO_SFINAE
Result
#else
- BOOST_DEDUCED_TYPENAME result_of< Fun( BOOST_DEDUCED_TYPENAME pointee<T>::type,
- BOOST_DEDUCED_TYPENAME pointee<U>::type ) >::type
+ BOOST_DEDUCED_TYPENAME result_of< Fun( BOOST_DEDUCED_TYPENAME pointee<T>::type&,
+ BOOST_DEDUCED_TYPENAME pointee<U>::type& ) >::type
#endif
operator()( const T& r, const U& r2 ) const
{
@@ -102,7 +102,7 @@
#ifdef BOOST_NO_SFINAE
Result
#else
- BOOST_DEDUCED_TYPENAME result_of< Fun( Arg1 ) >::type
+ BOOST_DEDUCED_TYPENAME result_of< Fun( Arg1& ) >::type
#endif
operator()( const void* r ) const
{
@@ -113,7 +113,7 @@
#ifdef BOOST_NO_SFINAE
Result
#else
- BOOST_DEDUCED_TYPENAME result_of< Fun( Arg1, Arg2 ) >::type
+ BOOST_DEDUCED_TYPENAME result_of< Fun( Arg1&, Arg2& ) >::type
#endif
operator()( const void* l, const void* r ) 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