17 template<
typename AOther>
class rebind {
32 static AType*
allocate(
const std::size_t ACount);
34 static void deallocate(AType*
const AObject,
const std::size_t ACount) noexcept;
37 template <
typename AOther,
typename... AArgs>
static void construct(AOther*
const APointer, AArgs&&... AArguments);
39 template <
typename AOther>
static void destroy(AOther*
const APointer) noexcept;
46 template <class AOtherType>
STLAllocator(const AOtherType& AOther) noexcept;
49 template<class ARType> constexpr
bool operator==(const
STLAllocator<ARType>& ARHS) const noexcept;
51 template<class ARType> constexpr
bool operator!=(const
STLAllocator<ARType>& ARHS) const noexcept;
Remaps STL style allocations to the CyberEngine Allocator. Based on std::allocator, usable on STL containers.
static AType * allocate(const std::size_t ACount)
See std::allocator::allocate
const AType & const_reference
See std::allocator::const_reference
unsigned long long size_type
See std::allocator::size_type
std::true_type is_always_equal
See std::allocator
std::ptrdiff_t difference_type
See std::allocator::difference_type
See std::allocator::rebind
static void construct(AOther *const APointer, AArgs &&...AArguments)
See std::allocator::construct
AType * pointer
See std::allocator::pointer
AType & reference
See std::allocator::reference
STLAllocator() noexcept=default
See std::allocator::allocator
static void deallocate(AType *const AObject, const std::size_t ACount) noexcept
See std::allocator::deallocate
const AType * const_pointer
See std::allocator::const_pointer
static pointer address(reference AObject) noexcept
See std::allocator::address
AType value_type
See std::allocator
std::false_type propagate_on_container_move_assignment
See std::allocator
static void destroy(AOther *const APointer) noexcept
See std::allocator::destroy