Boost C++ Libraries: Ticket #5568: singleton_pool doesn't propagate MaxSize value to his pool https://svn.boost.org/trac10/ticket/5568 <p> on singleton_pool.hpp, line 48, when instancing a pool the <a class="missing wiki">MaxSize</a> is not propagated to the pool. </p> <p> As a fix, I just propagate this value (on line 48). </p> <p> pool_type():p(<a class="missing wiki">RequestedSize</a>, <a class="missing wiki">NextSize</a>, <strong><a class="missing wiki">MaxSize</a></strong>) { } </p> <p> See the attached document. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5568 Trac 1.4.3 alvaro.castro.s@… Thu, 26 May 2011 19:22:07 GMT attachment set https://svn.boost.org/trac10/ticket/5568 https://svn.boost.org/trac10/ticket/5568 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">singleton_pool.hpp</span> </li> </ul> <p> singleton_pool <a class="missing wiki">MaxSize</a> propagation </p> Ticket John Maddock Sat, 16 Jul 2011 14:50:10 GMT <link>https://svn.boost.org/trac10/ticket/5568#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5568#comment:1</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/73148" title="Update docs to latest AutoIndex version. Fix -Wshadow warnings and ...">[73148]</a>) Update docs to latest <a class="missing wiki">AutoIndex</a> version. Fix -Wshadow warnings and update Jamfile to make them errors. Fix singleton_pool to correctly propagate the <a class="missing wiki">MaxSize</a> parameter. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5700" title="#5700: Bugs: warning in object_pool.hpp:56 (closed: fixed)">#5700</a>. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5568" title="#5568: Bugs: singleton_pool doesn't propagate MaxSize value to his pool (closed: fixed)">#5568</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Tue, 02 Aug 2011 17:04:12 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5568#comment:2 https://svn.boost.org/trac10/ticket/5568#comment:2 <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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/73495" title="Merge updated Pool lib from trunk. Fixes #1252. Fixes #2696. Fixes ...">[73495]</a>) Merge updated Pool lib from trunk. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1252" title="#1252: Bugs: [pool] severe overhead with unaligned sizes. (closed: fixed)">#1252</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2696" title="#2696: Bugs: max_size for boost pool (closed: fixed)">#2696</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4960" title="#4960: Bugs: boost::pool_allocator for vector of vectors exhausts memory (closed: fixed)">#4960</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5526" title="#5526: Bugs: fast_pool_allocator crash (closed: fixed)">#5526</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5568" title="#5568: Bugs: singleton_pool doesn't propagate MaxSize value to his pool (closed: fixed)">#5568</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5700" title="#5700: Bugs: warning in object_pool.hpp:56 (closed: fixed)">#5700</a>. </p> Ticket