[Boost-bugs] [Boost C++ Libraries] #9573: type_rebinder<int, type_2, 0> template specialization is not found using Sun's compiler 12.3

Subject: [Boost-bugs] [Boost C++ Libraries] #9573: type_rebinder<int, type_2, 0> template specialization is not found using Sun's compiler 12.3
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-14 20:22:32


#9573: type_rebinder<int,type_2,0> template specialization is not found using
Sun's compiler 12.3
-------------------------+-------------------------------------------------
 Reporter: | Type: Bugs
  vladmir.venediktov@… | Milestone: To Be Determined
   Status: new | Version: Boost 1.55.0
Component: None | Keywords: type_rebinder specialization
 Severity: Showstopper | missing ?
-------------------------+-------------------------------------------------
 '''#include <boost/interprocess/managed_mapped_file.hpp>[[BR]]
 using namespace boost::interprocess;[[BR]]
 typedef boost::interprocess::managed_mapped_file::segment_manager
 segment_manager_t;'''[[BR]]


 /*[[BR]]
 Including those 3 lines above , is like code below when Sun's compiler
 trying to
     specialize type_rebinder<int, second_rebind_type_t, 0> and it does not
 find it, because of int = Ptr
     and there is no specialization for that type

 Compilation command : /appl/toolbox/solarisstudio12.3/bin/CC -v
 -library=stdcxx4 -D_XOPEN_SOURCE=500 -I/home/uqadir/boost_1_55/boost
 _1_55_0/ main.cpp

 #include <boost/intrusive/set_hook.hpp>[[BR]]
 #include <boost/intrusive/detail/generic_hook.hpp>[[BR]]
 #include <boost/interprocess/detail/segment_manager_helper.hpp>[[BR]]
 #include <boost/intrusive/pointer_traits.hpp>[[BR]]
 #include <boost/intrusive/detail/utilities.hpp>[[BR]]
 #include <boost/intrusive/detail/memory_util.hpp>[[BR]]

 typedef
 boost::intrusive::bhtraits<boost::interprocess::ipcdetail::intrusive_value_type_impl<
 boost::intrusive::generic_hook< boost:
 :intrusive::get_set_node_algo<boost::interprocess::offset_ptr<void, int,
 unsigned, 0>, 1>, boost::intrusive::default_tag, 1, 3>, cha
 r, unsigned>, boost::intrusive::rbtree_node_traits<
 boost::interprocess::offset_ptr<void, int, unsigned, 0>, 1>, 1,
 boost::intrusive
 ::default_tag, 3 > '''second_rebind_type_t''' ;[[BR]]

 typedef boost::intrusive::detail::type_rebinder
 <'''int''', second_rebind_type_t, '''0'''>::type my_type; '''<-- no such
 specialization in boost''' [[BR]]
 */

 main ()
 {
 }

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