Boost C++ Libraries: Ticket #6857: reserve() https://svn.boost.org/trac10/ticket/6857 <p> Could you support reserve()? </p> <p> <a class="ext-link" href="http://en.cppreference.com/w/cpp/container/unordered_map/reserve"><span class="icon">​</span>http://en.cppreference.com/w/cpp/container/unordered_map/reserve</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6857 Trac 1.4.3 Daniel James Wed, 02 May 2012 19:08:58 GMT status, version, milestone changed https://svn.boost.org/trac10/ticket/6857#comment:1 https://svn.boost.org/trac10/ticket/6857#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.48.0</span> → <span class="trac-field-new">Boost 1.49.0</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.50.0</span> </li> </ul> <p> Of course, I only haven't because I hadn't noticed that it was added. Which is a pity, as I think the specification has an off by one error. I've posted to comp.std.c++ about that, although maybe I'm wrong. </p> Ticket Daniel James Mon, 07 May 2012 10:58:35 GMT <link>https://svn.boost.org/trac10/ticket/6857#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6857#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/78365" title="Unordered: Implement reserve. Refs #6857.">[78365]</a>) Unordered: Implement reserve. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6857" title="#6857: Feature Requests: reserve() (closed: fixed)">#6857</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Sat, 12 May 2012 08:14:12 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6857#comment:3 https://svn.boost.org/trac10/ticket/6857#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</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/78432" title="Unordered: Merge unordered from trunk. - Activate ...">[78432]</a>) Unordered: Merge unordered from trunk. </p> <ul><li>Activate <code>std::allocator_traits</code> for gcc 4.7 and Visual C++ 11. </li><li>Implement variadic construct in <code>boost::unordered::detail::allocator_traits</code> when variadics, rvalue references and SFINAE expression are available. </li><li>Use variadic construct from <code>allocator_traits</code>, or when not available move the logic for constructing <code>value_type</code> to a lower level, so the container code is a bit simpler. </li><li>Avoid <code>-Wshadow</code> warnings. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6190" title="#6190: Bugs: Warnings in unordered when compiled with &#34;-Wshadow&#34; (closed: fixed)">#6190</a>. </li><li>Implement <code>reserve</code>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6857" title="#6857: Feature Requests: reserve() (closed: fixed)">#6857</a>. </li></ul> Ticket