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 | |
PoolAllocator (size_t pool_size=kAllocSize) | |
template<typename U > | |
PoolAllocator (const PoolAllocator< U > &pool_alloc) | |
T * | allocate (size_type n, const void *hint=nullptr) |
void | deallocate (T *p, size_type n) |
std::shared_ptr< MemoryPoolCollection > | Pools () const |
using fst::PoolAllocator< T >::Allocator = std::allocator<T> |
using fst::PoolAllocator< T >::size_type = typename Allocator::size_type |
using fst::PoolAllocator< T >::value_type = typename Allocator::value_type |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |