#include //Variant-II , open(), mmap() using namespace boost::interprocess; typedef boost::interprocess::managed_mapped_file::segment_manager segment_manager_t; //Variant-II /* Including those 3 lines above , is like code below when Sun's compiler trying to specialize type_rebinder 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 #include #include #include #include #include typedef boost::intrusive::bhtraits, 1>, boost::intrusive::default_tag, 1, 3>, char, unsigned>, boost::intrusive::rbtree_node_traits< boost::interprocess::offset_ptr, 1>, 1, boost::intrusive::default_tag, 3 > second_rebind_type_t ; typedef boost::intrusive::detail::type_rebinder ::type my_type; */ main () { }