array
C++ library for multi-dimensional arrays
|
#include <array.h>
Public Member Functions | |
value_type * | allocate (size_t n) |
void | deallocate (value_type *p, size_t n) noexcept |
template<class... Args> | |
NDARRAY_INLINE void | construct (value_type *ptr, Args &&...args) |
Static Public Member Functions | |
static uninitialized_allocator | select_on_container_copy_construction (const uninitialized_allocator &alloc) |
Friends | |
template<class OtherBaseAlloc > | |
bool | operator== (const uninitialized_allocator &a, const uninitialized_allocator< OtherBaseAlloc > &b) |
template<class OtherBaseAlloc > | |
bool | operator!= (const uninitialized_allocator &a, const uninitialized_allocator< OtherBaseAlloc > &b) |
Allocator satisfying the std::allocator
interface that is a wrapper around another allocator BaseAlloc
, and skips default construction. Using this allocator can be dangerous, it is only safe to use when BaseAlloc::value_type
is a trivial type.