Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7343: Extend result_of to work with SFINAE
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-23 00:51:45
#7343: Extend result_of to work with SFINAE
-------------------------------+--------------------------------------------
Reporter: djwalker | Owner: djwalker
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: utility
Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords: result_of, decltype, SFINAE
-------------------------------+--------------------------------------------
Comment (by michel):
Full warning messages on gcc 4.3-4.4 (in a C++11 mode
`BOOST_RESULT_OF_USE_DECLTYPE`):
{{{
boost/utility/detail/result_of_iterate.hpp: In instantiation of 'const
bool
boost::detail::result_of_is_callable_2<result_of_member_function_template,
volatile int&, int>::value':
boost/utility/detail/result_of_iterate.hpp:101: instantiated from
'boost::detail::result_of_is_callable_2<result_of_member_function_template,
volatile int&, int>'
boost/utility/enable_if.hpp:47: instantiated from
'boost::lazy_enable_if<boost::detail::result_of_is_callable_2<result_of_member_function_template,
volatile int&, int>,
boost::detail::cpp0x_result_of_impl<result_of_member_function_template
()(volatile int&, int), false> >'
boost/utility/result_of.hpp:118: instantiated from
'boost::detail::cpp0x_result_of_impl<result_of_member_function_template
()(volatile int&, int), true>'
boost/utility/result_of.hpp:59: instantiated from
'boost::result_of<result_of_member_function_template ()(volatile int&,
int)>'
untitled:245: instantiated from here
boost/utility/detail/result_of_iterate.hpp:100: warning: object of type
'volatile int&' will not be accessed in left-hand operand of comma
boost/utility/detail/result_of_iterate.hpp: In instantiation of 'const
bool
boost::detail::result_of_is_callable_2<result_of_member_function_template,
const volatile int&, int>::value':
boost/utility/detail/result_of_iterate.hpp:101: instantiated from
'boost::detail::result_of_is_callable_2<result_of_member_function_template,
const volatile int&, int>'
boost/utility/enable_if.hpp:47: instantiated from
'boost::lazy_enable_if<boost::detail::result_of_is_callable_2<result_of_member_function_template,
const volatile int&, int>,
boost::detail::cpp0x_result_of_impl<result_of_member_function_template
()(const volatile int&, int), false> >'
boost/utility/result_of.hpp:118: instantiated from
'boost::detail::cpp0x_result_of_impl<result_of_member_function_template
()(const volatile int&, int), true>'
boost/utility/result_of.hpp:59: instantiated from
'boost::result_of<result_of_member_function_template ()(const volatile
int&, int)>'
untitled:246: instantiated from here
boost/utility/detail/result_of_iterate.hpp:100: warning: object of type
'const volatile int&' will not be accessed in left-hand operand of comma
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7343#comment:18> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC