Opened 4 years ago

Closed 18 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:


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 (, but boost::container doesn't.

This question on StackOverflow? illustrates this further:

Attachments (0)

Change History (1)

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

Resolution: fixed
Status: newclosed

Reviewing old bugs. piecewise_construct support was added in commit:

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

Modify Ticket

Change Properties
Set your email in Preferences
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.