Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83100 - sandbox/type_erasure/boost/type_erasure
From: steven_at_[hidden]
Date: 2013-02-23 10:39:39


Author: steven_watanabe
Date: 2013-02-23 10:39:39 EST (Sat, 23 Feb 2013)
New Revision: 83100
URL: http://svn.boost.org/trac/boost/changeset/83100

Log:
Use as_param instead of rebind_any for result_of support.
Text files modified:
   sandbox/type_erasure/boost/type_erasure/callable.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: sandbox/type_erasure/boost/type_erasure/callable.hpp
==============================================================================
--- sandbox/type_erasure/boost/type_erasure/callable.hpp (original)
+++ sandbox/type_erasure/boost/type_erasure/callable.hpp 2013-02-23 10:39:39 EST (Sat, 23 Feb 2013)
@@ -89,7 +89,7 @@
     typedef char (&_boost_type_erasure_callable_size)[1];
     _boost_type_erasure_callable_size
     _boost_type_erasure_deduce_callable(
- typename ::boost::type_erasure::rebind_any<Base, T>::type...);
+ typename ::boost::type_erasure::as_param<Base, T>::type...);
     typename ::boost::type_erasure::rebind_any<Base, R>::type
     operator()(typename ::boost::type_erasure::as_param<Base, T>::type... arg)
     {
@@ -111,7 +111,7 @@
     typedef char (&_boost_type_erasure_callable_size)[1];
     _boost_type_erasure_callable_size
     _boost_type_erasure_deduce_callable(
- typename ::boost::type_erasure::rebind_any<Base, T>::type...) const;
+ typename ::boost::type_erasure::as_param<Base, T>::type...) const;
     typename ::boost::type_erasure::rebind_any<Base, R>::type operator()(
         typename ::boost::type_erasure::as_param<Base, T>::type... arg) const
     {
@@ -138,7 +138,7 @@
     using Base::_boost_type_erasure_deduce_callable;
     _boost_type_erasure_callable_size
     _boost_type_erasure_deduce_callable(
- typename ::boost::type_erasure::rebind_any<Base, T>::type...);
+ typename ::boost::type_erasure::as_param<Base, T>::type...);
     using Base::operator();
     typename ::boost::type_erasure::rebind_any<Base, R>::type
     operator()(typename ::boost::type_erasure::as_param<Base, T>::type... arg)
@@ -166,7 +166,7 @@
     using Base::_boost_type_erasure_deduce_callable;
     _boost_type_erasure_callable_size
     _boost_type_erasure_deduce_callable(
- typename ::boost::type_erasure::rebind_any<Base, T>::type...) const;
+ typename ::boost::type_erasure::as_param<Base, T>::type...) const;
     using Base::operator();
     typename ::boost::type_erasure::rebind_any<Base, R>::type
     operator()(typename ::boost::type_erasure::as_param<Base, T>::type... arg) 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