class StdAlloc

template<class T, class AllocatorTag = DefaultAllocatorTag>

Allocator for the standard library that internally uses bsf memory allocator.

Public

Constructors

StdAlloc<T, AllocatorTag>

StdAlloc<T, AllocatorTag>() = default

StdAlloc<T, AllocatorTag>

StdAlloc<T, AllocatorTag>(StdAlloc<T, AllocatorTag> &&) = default

StdAlloc<T, AllocatorTag>

StdAlloc<T, AllocatorTag>(const StdAlloc<T, AllocatorTag> &) = default

Methods

staticallocate

static T *allocate(const size_t num)

Allocate but don't initialize number elements of type T.

staticdeallocate

static void deallocate(pointer p, size_type)

Deallocate storage p of deleted elements.

staticmax_size

static constexpr size_t max_size()

staticdestroy

static constexpr void destroy(pointer p)