-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Closed
Closed
Copy link
Labels
libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Description
Line 42 in d86c63d
A const a(nullptr); |
Line 37 in d86c63d
A const a(nullptr); |
I've found a few places where a null memory_resource*
is passed to a resource or a polymorphic_allocator
, which is undefined:
[mem.poly.allocator.ctor]:
polymorphic_allocator(memory_resource* r);
- Preconditions:
r
is non-null.
If this is an intentional libc++ extension then should the tests be guarded with _LIBCPP_VERSION
, or moved to the libcxx/test/libcxx directory for non-standard features?
Metadata
Metadata
Assignees
Labels
libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.