FST
openfst-1.8.4
OpenFst Library
|
#include <memory.h>
Public Types | |
using | Allocator = std::allocator< T > |
using | size_type = typename Allocator::size_type |
using | value_type = typename Allocator::value_type |
Public Member Functions | |
BlockAllocator (size_t block_size=kAllocSize) | |
template<typename U > | |
BlockAllocator (const BlockAllocator< U > &arena_alloc) | |
T * | allocate (size_type n, const void *hint=nullptr) |
void | deallocate (T *p, size_type n) |
std::shared_ptr< MemoryArenaCollection > | Arenas () const |
using fst::BlockAllocator< T >::Allocator = std::allocator<T> |
using fst::BlockAllocator< T >::size_type = typename Allocator::size_type |
using fst::BlockAllocator< T >::value_type = typename Allocator::value_type |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |