|
LIBINT 2.9.0
|
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 Types | |
| using | value_type = T |
| using | pointer = T* |
| using | difference_type |
| using | size_type = typename std::make_unsigned<difference_type>::type |
| using | propagate_on_container_copy_assignment = std::true_type |
| using | propagate_on_container_move_assignment = std::true_type |
| typedef T | array_type[N] |
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.
| using libint2::detail::ext_stack_allocator< T, N >::difference_type |