Boost C++ Libraries: Ticket #13543: documentation for allocation_command shows the wrong return type https://svn.boost.org/trac10/ticket/13543 <p> The documentation at </p> <p> <a class="ext-link" href="https://www.boost.org/doc/libs/1_59_0/doc/html/interprocess/managed_memory_segments.html#interprocess.managed_memory_segments.managed_memory_segment_advanced_features.managed_memory_segment_expand_in_place"><span class="icon">​</span>https://www.boost.org/doc/libs/1_59_0/doc/html/interprocess/managed_memory_segments.html#interprocess.managed_memory_segments.managed_memory_segment_advanced_features.managed_memory_segment_expand_in_place</a> </p> <p> shows the return type for allocation_command is "std::pair&lt;T *, bool&gt;". The code doesn't match and just returns a "T *". The example also disagrees and shows: </p> <p> std::size_t * ret = managed_shm.allocation_command </p> <p> The pair would actually be nicer but either the code or the docs need updating. The same problem appears in later versions. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13543 Trac 1.4.3