Kiwano Engine v1.3.x
|
分配器 更多...
#include <Allocator.h>
类 | |
struct | rebind |
Public 成员函数 | |
Allocator (const Allocator &) noexcept=default | |
template<class _Other > | |
Allocator (const Allocator< _Other > &) noexcept | |
_Ty * | allocate (size_t count) |
void * | allocate (size_t count, const void *) |
void | deallocate (void *ptr, size_t count) |
template<typename _UTy , typename... _Args> | |
void | construct (_UTy *const ptr, _Args &&... args) |
template<typename _UTy > | |
void | destroy (_UTy *ptr) |
size_t | max_size () const noexcept |
_Ty * | address (_Ty &val) const noexcept |
const _Ty * | address (const _Ty &val) const noexcept |
分配器