Boost C++ Libraries: Ticket #1883: [interprocess] boost::interprocess::allocator<>::segment_manager is a private typedef but it's used as a public typedef in the documentation https://svn.boost.org/trac10/ticket/1883 <p> Documentation: <a href="http://www.boost.org/doc/libs/1_35_0/doc/html/interprocess/allocators_containers.html">http://www.boost.org/doc/libs/1_35_0/doc/html/interprocess/allocators_containers.html</a> &lt;excerpt&gt; </p> <p> Boost.Interprocess allocators also have a get_segment_manager() function that returns the underlying segment manager that they have received in the constructor: </p> <p> Allocator::segment_manager s = alloc_instance.get_segment_manager(); <a class="missing wiki">AnotherType</a> *a = s-&gt;construct&lt;<a class="missing wiki">AnotherType</a>&gt;(anonymous_instance)(/*Parameters*/); </p> <p> &lt;/excerpt&gt; </p> <p> Code: <a href="http://www.boost.org/doc/libs/1_35_0/boost/interprocess/allocators/allocator.hpp">http://www.boost.org/doc/libs/1_35_0/boost/interprocess/allocators/allocator.hpp</a> (also in svn trunk, Revision 44886) </p> <p> template&lt;class T, class <a class="missing wiki">SegmentManager</a>&gt; class allocator { </p> <blockquote> <p> <em>/ @cond private: </em></p> </blockquote> <blockquote> <p> <em>Self type typedef allocator&lt;T, <a class="missing wiki">SegmentManager</a>&gt; self_t; </em></p> </blockquote> <blockquote> <p> <em>Segment manager typedef <a class="missing wiki">SegmentManager</a> segment_manager; </em></p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1883 Trac 1.4.3 Ion Gaztañaga Fri, 02 May 2008 11:09:11 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1883#comment:1 https://svn.boost.org/trac10/ticket/1883#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in revision 45019 </p> Ticket