Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79602 - sandbox/type_erasure/boost/type_erasure
From: steven_at_[hidden]
Date: 2012-07-19 10:49:34


Author: steven_watanabe
Date: 2012-07-19 10:49:34 EDT (Thu, 19 Jul 2012)
New Revision: 79602
URL: http://svn.boost.org/trac/boost/changeset/79602

Log:
Use call in c++11 mode.
Text files modified:
   sandbox/type_erasure/boost/type_erasure/any.hpp | 18 ++++++++++++------
   1 files changed, 12 insertions(+), 6 deletions(-)

Modified: sandbox/type_erasure/boost/type_erasure/any.hpp
==============================================================================
--- sandbox/type_erasure/boost/type_erasure/any.hpp (original)
+++ sandbox/type_erasure/boost/type_erasure/any.hpp 2012-07-19 10:49:34 EDT (Thu, 19 Jul 2012)
@@ -516,9 +516,12 @@
             )
         ),
         data(
- ::boost::type_erasure::detail::make(
- false? this->_boost_type_erasure_deduce_constructor(u0, u1, u...) : 0
- )(u0, u1, u...)
+ ::boost::type_erasure::call(
+ ::boost::type_erasure::detail::make(
+ false? this->_boost_type_erasure_deduce_constructor(u0, u1, u...) : 0
+ ),
+ u0, u1, u...
+ )
         )
     {}
 
@@ -531,9 +534,12 @@
             )
         ),
         data(
- ::boost::type_erasure::detail::make(
- false? this->_boost_type_erasure_deduce_constructor(u0, u1, u...) : 0
- )(u0, u1, u...)
+ ::boost::type_erasure::call(
+ ::boost::type_erasure::detail::make(
+ false? this->_boost_type_erasure_deduce_constructor(u0, u1, u...) : 0
+ ),
+ u0, u1, u...
+ )
         )
     {}
 


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