array
C++ library for multi-dimensional arrays
|
#include <array.h>
Public Member Functions | |
template<class U , size_t U_N, size_t U_A, class U_BaseAlloc > | |
constexpr | auto_allocator (const auto_allocator< U, U_N, U_A, U_BaseAlloc > &) noexcept |
auto_allocator (const auto_allocator ©) noexcept | |
auto_allocator (auto_allocator &&move) noexcept | |
auto_allocator & | operator= (const auto_allocator ©) |
auto_allocator & | operator= (auto_allocator &&move) |
value_type * | allocate (size_t n) |
void | deallocate (value_type *ptr, size_t n) noexcept |
Static Public Member Functions | |
static auto_allocator | select_on_container_copy_construction (const auto_allocator &) |
Friends | |
template<class U , size_t U_N, size_t U_A> | |
bool | operator== (const auto_allocator &a, const auto_allocator< U, U_N, U_A > &b) |
template<class U , size_t U_N, size_t U_A> | |
bool | operator!= (const auto_allocator &a, const auto_allocator< U, U_N, U_A > &b) |
Allocator satisfying the std::allocator
interface that owns a buffer with automatic storage, and a fallback base allocator. For allocations, the allocator uses the buffer if it is large enough and not already allocated, otherwise it uses the base allocator.