memory_resource
20 KB
-
libstdc++: make polymorphic_allocator throw consistent type (LWG 3237) · e89100ef
* include/std/memory_resource (polymorphic_allocator::allocate) (polymorphic_allocator::allocate_object): Change type of exception to bad_array_new_length (LWG 3237). * testsuite/20_util/polymorphic_allocator/lwg3237.cc: New test.
Jonathan Wakely committed