Boost C++ Libraries: Ticket #9573: type_rebinder<int,type_2,0> template specialization is not found using Sun's compiler 12.3 https://svn.boost.org/trac10/ticket/9573 <p> <strong>#include &lt;boost/interprocess/managed_mapped_file.hpp&gt;<br /> using namespace boost::interprocess;<br /> typedef boost::interprocess::managed_mapped_file::segment_manager segment_manager_t;</strong><br /> </p> <p> /*<br /> Including those 3 lines above , is like code below when Sun's compiler trying to </p> <blockquote> <p> specialize type_rebinder&lt;int, second_rebind_type_t, 0&gt; and it does not find it, because of int = Ptr and there is no specialization for that type </p> </blockquote> <p> 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 </p> <p> #include &lt;boost/intrusive/set_hook.hpp&gt;<br /> #include &lt;boost/intrusive/detail/generic_hook.hpp&gt;<br /> #include &lt;boost/interprocess/detail/segment_manager_helper.hpp&gt;<br /> #include &lt;boost/intrusive/pointer_traits.hpp&gt;<br /> #include &lt;boost/intrusive/detail/utilities.hpp&gt;<br /> #include &lt;boost/intrusive/detail/memory_util.hpp&gt;<br /> </p> <p> typedef boost::intrusive::bhtraits&lt;boost::interprocess::ipcdetail::intrusive_value_type_impl&lt; boost::intrusive::generic_hook&lt; boost: :intrusive::get_set_node_algo&lt;boost::interprocess::offset_ptr&lt;void, int, unsigned, 0&gt;, 1&gt;, boost::intrusive::default_tag, 1, 3&gt;, cha r, unsigned&gt;, boost::intrusive::rbtree_node_traits&lt; boost::interprocess::offset_ptr&lt;void, int, unsigned, 0&gt;, 1&gt;, 1, boost::intrusive ::default_tag, 3 &gt; <strong>second_rebind_type_t</strong> ;<br /> </p> <p> typedef boost::intrusive::detail::type_rebinder &lt;<strong>int</strong>, second_rebind_type_t, <strong>0</strong>&gt;::type my_type; <strong>&lt;-- no such specialization in boost</strong> <br /> */ </p> <p> main () { } </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9573 Trac 1.4.3 vladimir.venediktov@… Tue, 14 Jan 2014 20:23:37 GMT attachment set https://svn.boost.org/trac10/ticket/9573 https://svn.boost.org/trac10/ticket/9573 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">main.cpp</span> </li> </ul> <p> main.cpp </p> Ticket anonymous Wed, 05 Feb 2014 19:34:35 GMT <link>https://svn.boost.org/trac10/ticket/9573#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9573#comment:1</guid> <description> <p> work around suggested by sun's team </p> <p> Change: ./boost_1_55_0/boost/intrusive/detail/memory_util.hpp in struct type_has_rebind and struct type_has_rebind_other </p> <p> From: #if !defined (<span class="underline">SUNPRO_CC) </span></p> </strong></span><table class="wiki"> <tr>To: #if !defined (<span class="underline">SUNPRO_CC) <strong><td> (<span class="underline">SUNPRO_CC &gt;= 0x5120)<strong> </strong></span></td></tr></table> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 05 Feb 2014 19:36:40 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9573#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9573#comment:2</guid> <description> <p> #if !defined (<span class="underline">SUNPRO_CC) <strong>| | (</strong></span><strong>SUNPRO_CC &gt;= 0x5120)</strong> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 26 Feb 2014 21:28:43 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/9573#comment:3 https://svn.boost.org/trac10/ticket/9573#comment:3 <ul> <li><strong>owner</strong> set to <span class="trac-author">Ion Gaztañaga</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">interprocess</span> </li> </ul> Ticket