Banuba SDK
|
Doesn't support N allocs (std::vector) More...
#include <static_pool_allocator.hpp>
Classes | |
struct | rebind |
Public Types | |
using | value_type = T |
Public Member Functions | |
template<class U > | |
constexpr | static_pool_allocator (const static_pool_allocator< U, MAX_ELEMENTS > &u) noexcept |
T * | allocate (std::size_t n) |
T * | allocate (std::size_t n, const std::nothrow_t &) noexcept |
void | deallocate (T *p, std::size_t n) |
bool | is_mine (T *p) |
Doesn't support N allocs (std::vector)
Definition at line 23 of file static_pool_allocator.hpp.
using bnb::static_pool_allocator< T, MAX_ELEMENTS >::value_type = T |
Definition at line 26 of file static_pool_allocator.hpp.
|
inlineexplicitconstexprnoexcept |
Definition at line 31 of file static_pool_allocator.hpp.