mirror of
https://github.com/boostorg/functional.git
synced 2025-08-01 05:24:31 +02:00
Functional: Merge old change to use BOOST_DEDUCED_TYPENAME
.
[SVN r70516]
This commit is contained in:
@@ -141,7 +141,7 @@ namespace boost
|
||||
{
|
||||
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 @@ namespace boost
|
||||
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)) >
|
||||
{ };
|
||||
|
||||
|
@@ -146,7 +146,7 @@ namespace boost
|
||||
{
|
||||
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 @@ namespace boost
|
||||
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)) >
|
||||
{ };
|
||||
|
||||
|
Reference in New Issue
Block a user