|
LIBINT 2.7.2
|
allocator that uses an externally-managed stack-allocated array for allocations up to max_size, for larger allocations uses heap. More...
#include <array_adaptor.h>
Classes | |
| struct | rebind |
Public Member Functions | |
| ext_stack_allocator (const ext_stack_allocator &other)=default | |
| ext_stack_allocator (ext_stack_allocator &&other) noexcept | |
| ext_stack_allocator & | operator= (const ext_stack_allocator &other)=default |
| ext_stack_allocator & | operator= (ext_stack_allocator &&other) noexcept |
| ext_stack_allocator (array_type &array) noexcept | |
| template<typename U , typename = typename std::enable_if<std::is_same<const U,T>::value>> | |
| ext_stack_allocator (U(&array)[N]) noexcept | |
| T * | allocate (std::size_t n) |
| void | deallocate (T *p, std::size_t n) noexcept |
Static Public Attributes | |
| static auto constexpr | size = N |
Friends | |
| template<class T1 , std::size_t N1> | |
| bool | operator== (const ext_stack_allocator< T1, N1 > &x, const ext_stack_allocator< T1, N1 > &y) noexcept |
allocator that uses an externally-managed stack-allocated array for allocations up to max_size, for larger allocations uses heap.