Boost logo

Boost :

Subject: [boost] [intrusive] possible workaround for vc12 compile errors
From: Daniela Engert (dani_at_[hidden])
Date: 2013-11-10 12:47:03


I've attached a patch to ticket #9332
"has_member_function_callable_with.hpp compile error on msvc-12.0"

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>().
struct BOOST_PP_CAT(zeroarg_checker_,

the sizeof expression is evaluated with an unknown type U in declval<U>().


Boost list run by bdawes at, gregod at, cpdaniel at, john at