[intrusive] possible workaround for vc12 compile errors

Hi, I've attached a patch to ticket #9332 "has_member_function_callable_with.hpp compile error on msvc-12.0" (https://svn.boost.org/trac/boost/ticket/9332) This patch seems to fix the problem. My far-from-perfect understanding of C++ seems to indicate, that the root cause is in line 201: template< class F , std::size_t N = sizeof((boost::move_detail::declval<F>(). BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME (), 0))> struct BOOST_PP_CAT(zeroarg_checker_, BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME) the sizeof expression is evaluated with an unknown type U in declval<U>(). Ciao Dani

El 10/11/2013 18:47, Daniela Engert escribió:
Hi,
I've attached a patch to ticket #9332 "has_member_function_callable_with.hpp compile error on msvc-12.0" (https://svn.boost.org/trac/boost/ticket/9332)
This patch seems to fix the problem. My far-from-perfect understanding of C++ seems to indicate, that the root cause is in line 201:
Thanks for the report Best, Ion
participants (2)
-
Daniela Engert
-
Ion Gaztañaga