|
| overflow (Stream &stream) noexcept(std::is_nothrow_default_constructible_v< Alloc >) |
| Construct the allocator with a reference to a stream object. More...
|
|
template<typename... Args, typename = std::enable_if_t< std::is_constructible_v<Alloc, Args...>>> |
| overflow (Stream &stream, Args &&... args) noexcept(std::is_nothrow_constructible_v< Alloc, Args... >) |
| Constructor for forwarding any arguments to the underlying allocator. More...
|
|
| overflow (const overflow &)=default |
|
| overflow (overflow &&)=default |
|
| ~overflow () |
|
overflow & | operator= (const overflow &)=default |
|
overflow & | operator= (overflow &&)=default |
|
bool | operator== (const overflow &rhs) const noexcept(detail::has_nothrow_equal_v< Alloc >) |
|
bool | operator!= (const overflow &rhs) const noexcept(detail::has_nothrow_not_equal_v< Alloc >) |
|
void * | allocate (size_type n) noexcept(detail::has_nothrow_allocate_v< Alloc >) |
| Attempts to allocate a chunk of memory defined by n . More...
|
|
void | deallocate (void *p, size_type n) noexcept(detail::has_nothrow_deallocate_v< Alloc >) |
| Attempts to deallocate the memory at location p . More...
|
|
template<typename T , typename... Args> |
void | construct (T *p, Args &&... args) noexcept((detail::has_construct_v< Alloc, T *, Args... > &&detail::has_nothrow_construct_v< Alloc, T *, Args... >)||std::is_nothrow_constructible_v< T, Args... >) |
| Constructs an object of T with the given ...args at the given location. More...
|
|
template<typename T > |
void | destroy (T *p) noexcept((detail::has_destroy_v< Alloc, T * > &&detail::has_nothrow_destroy_v< Alloc, T * >)||std::is_nothrow_destructible_v< T >) |
| Destructs an object of T at the given location. More...
|
|
template<typename A = Alloc> |
std::enable_if< detail::has_max_size_v< A >, size_type >::type | max_size () const noexcept(detail::has_nothrow_max_size_v< A >) |
| Returns the maximum size that an allocation can be. More...
|
|
template<typename A = Alloc> |
std::enable_if< detail::has_owns_v< A >, bool >::type | owns (void *p) const noexcept(detail::has_nothrow_owns_v< A >) |
| Returns whether or not the allocator owns the given location in memory. More...
|
|
Alloc & | get_allocator () noexcept |
| Returns a reference to the underlying allocator. More...
|
|
const Alloc & | get_allocator () const noexcept |
| Returns a const reference to the underlying allocator. More...
|
|
Stream & | get_stream () noexcept |
| Return a reference to the stream that will be used when leaks or corruption occur. More...
|
|
const Stream & | get_stream () const noexcept |
| Return a const reference to the stream that will be used when leaks or corruption occur. More...
|
|