Title
[fund.ts] std::experimental::any allocator support is unimplementable
Status
resolved
Section
[any.class]
Submitter
Jonathan Wakely

Created on 2014-06-16.00:00:00 last changed 121 months ago

Messages

Date: 2014-11-24.15:11:58

[ Urbana, 2014-11 ]

Resolved by paper N4270.

Date: 2014-06-16.00:00:00

Addresses: fund.ts

The allocator-extended copy constructor for any requires an arbitrary template parameter to be available in a type-erased context where the dynamic type of the contained object is known. This is not believed to be possible in C++.

If the allocator-extended copy constructor cannot be defined it questions the usefulness of the other allocator-extended constructors.

History
Date User Action Args
2014-11-24 15:11:58adminsetmessages: + msg7206
2014-11-24 15:11:58adminsetstatus: new -> resolved
2014-06-16 00:00:00admincreate