[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: [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-02 09:25:07


#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
 Keywords: |
------------------------------+------------------------
 The regression test are showing this compiler error on Boost.Thread

 {{{

 Test output: teeks99-10-win2008-64on64 - thread -
 container__thread_ptr_list_p / msvc-12.0
 Rev 86532 / Fri, 01 Nov 2013 12:53:59 +0000
 Compile [2013-11-01 22:52:20 UTC]: fail



     call "C:\Program Files (x86)\Microsoft Visual Studio
 12.0\VC\vcvarsall.bat" x86_amd64 >nul
 cl /Zm800 -nologo
 @"C:\local\results\boost\bin.v2\libs\thread\test\container__thread_ptr_list_p.test\msvc-12.0\debug
 \address-model-64\threading-
 multi\threads\container\thread_ptr_list_pass.obj.rsp"

 thread_ptr_list_pass.cpp
 C:\local\boost\boost/intrusive/detail/has_member_function_callable_with.hpp(200)
 : error C2228: left of '.select_on_container_copy_construction' must have
 class/struct/union
         type is 'boost::move_detail::add_rvalue_reference<U>::type'
 C:\local\boost\boost/intrusive/detail/has_member_function_callable_with.hpp(276)
 : see reference to class template instantiation
 'boost::container::container_detail::has_member_function_callable_with_select_on_container_copy_construction_impl<Fun,true,>'
 being compiled
         with
         [
             Fun=std::allocator<thread_ptr>
         ]
         C:\local\boost\boost/container/allocator_traits.hpp(262) : see
 reference to class template instantiation
 'boost::container::container_detail::has_member_function_callable_with_select_on_container_copy_construction<const
 Alloc,>' being compiled
         with
         [
             Alloc=std::allocator<thread_ptr>
         ]
         C:\local\boost\boost/container/list.hpp(84) : see reference to
 class template instantiation
 'boost::container::allocator_traits<Allocator>' being compiled
         with
         [
             Allocator=std::allocator<thread_ptr>
         ]
         C:\local\boost\boost/container/list.hpp(121) : see reference to
 class template instantiation
 'boost::container::container_detail::intrusive_list_type<Allocator>' being
 compiled
         with
         [
             Allocator=std::allocator<thread_ptr>
         ]
         ..\libs\thread\test\threads\container\thread_ptr_list_pass.cpp(62)
 : see reference to class template instantiation
 'boost::container::list<thread_ptr,std::allocator<T>>' being compiled
         with
         [
             T=thread_ptr
         ]



 }}}

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