Title
std::function does not use allocator::construct
Status
resolved
Section
[func.wrap.func]
Submitter
David Krauss

Created on 2015-05-20.00:00:00 last changed 100 months ago

Messages

Date: 2016-08-06.21:31:18

Proposed resolution:

Resolved by P0302R1.

Date: 2016-08-03.12:32:27

[ 2016-08 Chicago ]

Tues PM: Resolved by P0302R1.

Date: 2015-05-20.00:00:00

It is impossible for std::function to construct its target object using the construct method of a type-erased allocator. More confusingly, it is possible when the allocator and the target are created at the same time. The means of target construction should be specified.

History
Date User Action Args
2016-08-06 21:31:18adminsetmessages: + msg8455
2016-08-03 12:32:27adminsetmessages: + msg8361
2016-08-03 12:32:27adminsetstatus: new -> resolved
2015-05-20 00:00:00admincreate