Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9369: error C2228: â.select_on_container_copy_constructionâ with boost 1.55 and visual studio 2013
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-12 08:11:41
#9369: error C2228: â.select_on_container_copy_constructionâ with boost 1.55 and
visual studio 2013
-------------------------+-------------------------------------------------
Reporter: 2810923@⦠| Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be | Component: interprocess
Determined | Severity: Problem
Version: Boost | Keywords: mapped_region
1.55.0 | select_on_container_copy_construction
Resolution: |
-------------------------+-------------------------------------------------
Comment (by anonymous):
bug fix, vistual studio 2013 no support " Expression SFINAE " features.
has_member_function_callable_with.hpp
219 219 struct
BOOST_PP_CAT(BOOST_PP_CAT(has_member_function_callable_with_,
BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME),_impl)
220 220 <Fun, true>
221 221 {
222 template<class U>
223 static BOOST_PP_CAT(zeroarg_checker_,
BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME)
224 <U> Test(BOOST_PP_CAT(zeroarg_checker_,
BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME)<U>*);
225
222 #ifdef BOOST_NO_SFINAE_EXPR
223 template<class U>
224 static decltype(
boost::move_detail::declval<Fun>().BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME()
225 ,
boost_intrusive_has_member_function_callable_with::yes_type())
226 Test(Fun*);
227 #else
228 template<class U>
229 static BOOST_PP_CAT(zeroarg_checker_,
BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME)
230 <U> Test(BOOST_PP_CAT(zeroarg_checker_,
BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME)<U>*);
231 #endif
232
226 233 template <class U>
227 234 static
boost_intrusive_has_member_function_callable_with::no_type Test(...);
228 235
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9369#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