On 20/10/16 11:12 +0100, Jonathan Wakely wrote:
This let's std::allocator be used in situations like:
std::allocate_shared(std::allocator(), 1);
where a "proto-allocator" is required. The other members such as
allocate() and max_size() don't make sense for void, but construct and
destroy don't
This let's std::allocator be used in situations like:
std::allocate_shared(std::allocator(), 1);
where a "proto-allocator" is required. The other members such as
allocate() and max_size() don't make sense for void, but construct and
destroy don't depend on value_type.
PR libstdc++/78052