Modify

Opened 4 years ago

Closed 13 months ago

#9689 closed Feature Requests (fixed)

Add piecewise_construct to boost::container

Reported by: anonymous Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: container
Version: Boost 1.55.0 Severity: Problem
Keywords: c++11, container Cc:

Description

C++11 introduces std::piecewise_construct, which is needed in some scenarios; for instance, to emplace a default-initialized object into a container.

boost::unordered already allows it (http://www.boost.org/doc/libs/1_55_0/doc/html/unordered/compliance.html), but boost::container doesn't.

This question on StackOverflow? illustrates this further: http://stackoverflow.com/questions/21438244/

Attachments (0)

Change History (1)

comment:1 Changed 13 months ago by Ion Gaztañaga

Resolution: fixed
Status: newclosed

Reviewing old bugs. piecewise_construct support was added in commit:

https://github.com/boostorg/container/commit/79a75f470e75f35f5f2a91e10fcc67d03b0a2160

Which should be available in Boost 1.62. Thanks for the report and your patience.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ion Gaztañaga.
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.