libstdc++
|
Go to the source code of this file.
Namespaces | |
namespace | std |
Macros | |
#define | __cpp_lib_memory_resource |
#define | __cpp_lib_polymorphic_allocator |
#define | _GLIBCXX_MEMORY_RESOURCE |
Functions | |
memory_resource * | std::pmr::get_default_resource () noexcept |
memory_resource * | std::pmr::new_delete_resource () noexcept |
memory_resource * | std::pmr::null_memory_resource () noexcept |
bool | std::pmr::operator== (const memory_resource &__a, const memory_resource &__b) noexcept |
template<typename _Tp1 , typename _Tp2 > | |
bool | std::pmr::operator== (const polymorphic_allocator< _Tp1 > &__a, const polymorphic_allocator< _Tp2 > &__b) noexcept |
memory_resource * | std::pmr::set_default_resource (memory_resource *__r) noexcept |
This is a Standard C++ Library header.
Definition in file memory_resource.
#define __cpp_lib_memory_resource |
Definition at line 59 of file memory_resource.
#define __cpp_lib_polymorphic_allocator |
Definition at line 71 of file memory_resource.
#define _GLIBCXX_MEMORY_RESOURCE |
Definition at line 30 of file memory_resource.
|
noexcept |
Get the current default memory resource pointer.
|
noexcept |
A pmr::memory_resource that uses new
to allocate memory.
|
noexcept |
A pmr::memory_resource that always throws bad_alloc
|
inlinenoexcept |
Definition at line 147 of file memory_resource.
|
inlinenoexcept |
Definition at line 408 of file memory_resource.
|
noexcept |
Replace the default memory resource pointer.