Modify

Opened 5 years ago

Closed 5 years ago

#6857 closed Feature Requests (fixed)

reserve()

Reported by: Olaf van der Spek <olafvdspek@…> Owned by: Daniel James
Milestone: Boost 1.50.0 Component: unordered
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc:

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by Daniel James

Milestone: To Be DeterminedBoost 1.50.0
Status: newassigned
Version: Boost 1.48.0Boost 1.49.0

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.

comment:2 Changed 5 years ago by Daniel James

(In [78365]) Unordered: Implement reserve. Refs #6857.

comment:3 Changed 5 years ago by Daniel James

Resolution: fixed
Status: assignedclosed

(In [78432]) Unordered: Merge unordered from trunk.

  • Activate std::allocator_traits for gcc 4.7 and Visual C++ 11.
  • Implement variadic construct in boost::unordered::detail::allocator_traits when variadics, rvalue references and SFINAE expression are available.
  • Use variadic construct from allocator_traits, or when not available move the logic for constructing value_type to a lower level, so the container code is a bit simpler.
  • Avoid -Wshadow warnings. Fixes #6190.
  • Implement reserve. Fixes #6857.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Daniel James.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.