Re: [Boost-bugs] [Boost C++ Libraries] #9332: has_member_function_callable_with.hpp compile error on msvc-12.0 - '.select_on_container_copy_construction' must have class/struct/union

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9332: has_member_function_callable_with.hpp compile error on msvc-12.0 - '.select_on_container_copy_construction' must have class/struct/union
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-10 17:30:46


#9332: has_member_function_callable_with.hpp compile error on msvc-12.0 -
'.select_on_container_copy_construction' must have class/struct/union
-------------------------------+------------------------
  Reporter: viboes | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: intrusive
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------

Comment (by Daniela Engert <dani@…>):

 The attached patch seems to work around the compile failure with vc12.
 IIUC, the root cause is

 boost::move_detail::declval<F>().BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME
 ()

 being evaluated (line 201).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9332#comment:1>
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:14 UTC