Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61634 - trunk/boost/functional
From: tschwinger_at_[hidden]
Date: 2010-04-27 19:14:24


Author: t_schwinger
Date: 2010-04-27 19:14:23 EDT (Tue, 27 Apr 2010)
New Revision: 61634
URL: http://svn.boost.org/trac/boost/changeset/61634

Log:
applies BOOST_DEDUCED_TYPENAME to hopefully please VACPP

Text files modified:
   trunk/boost/functional/forward_adapter.hpp | 4 ++--
   trunk/boost/functional/lightweight_forward_adapter.hpp | 4 ++--
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/boost/functional/forward_adapter.hpp
==============================================================================
--- trunk/boost/functional/forward_adapter.hpp (original)
+++ trunk/boost/functional/forward_adapter.hpp 2010-04-27 19:14:23 EDT (Tue, 27 Apr 2010)
@@ -141,7 +141,7 @@
     {
         template< class Self >
         struct forward_adapter_result::apply< Self() >
- : boost::result_of< typename c<Self>::t() >
+ : boost::result_of< BOOST_DEDUCED_TYPENAME c<Self>::t() >
         { };
 
         template< class MD, class F, class FC >
@@ -316,7 +316,7 @@
         template< class Self, BOOST_PP_ENUM_PARAMS(N,typename T) >
         struct forward_adapter_result::apply< Self(BOOST_PP_ENUM_PARAMS(N,T)) >
             : boost::result_of<
- typename c<Self>::t(BOOST_PP_ENUM_BINARY_PARAMS(N,
+ BOOST_DEDUCED_TYPENAME c<Self>::t(BOOST_PP_ENUM_BINARY_PARAMS(N,
                       typename q<T,>::t& BOOST_PP_INTERCEPT)) >
         { };
 

Modified: trunk/boost/functional/lightweight_forward_adapter.hpp
==============================================================================
--- trunk/boost/functional/lightweight_forward_adapter.hpp (original)
+++ trunk/boost/functional/lightweight_forward_adapter.hpp 2010-04-27 19:14:23 EDT (Tue, 27 Apr 2010)
@@ -146,7 +146,7 @@
     {
         template< class Self >
         struct lightweight_forward_adapter_result::apply< Self() >
- : boost::result_of< typename c<Self>::t() >
+ : boost::result_of< BOOST_DEDUCED_TYPENAME c<Self>::t() >
         { };
 
         template< class MD, class F, class FC >
@@ -205,7 +205,7 @@
         struct lightweight_forward_adapter_result::apply<
             Self (BOOST_PP_ENUM_PARAMS(N,T)) >
             : boost::result_of<
- typename c<Self>::t (BOOST_PP_ENUM_BINARY_PARAMS(N,
+ BOOST_DEDUCED_TYPENAME c<Self>::t (BOOST_PP_ENUM_BINARY_PARAMS(N,
                     typename x<T,>::t BOOST_PP_INTERCEPT)) >
         { };
 


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