Vowpal Wabbit
Public Member Functions | List of all members
VW::value_object_pool< T, TAllocator, TDeleter > Struct Template Reference

#include <object_pool.h>

Public Member Functions

 value_object_pool ()=default
 
 ~value_object_pool ()
 
void return_object (T obj)
 
get_object ()
 
bool empty () const
 
size_t size () const
 

Constructor & Destructor Documentation

template<typename T, typename TAllocator, typename TDeleter>
VW::value_object_pool< T, TAllocator, TDeleter >::value_object_pool ( )
default
template<typename T, typename TAllocator, typename TDeleter>
VW::value_object_pool< T, TAllocator, TDeleter >::~value_object_pool ( )
inline

Member Function Documentation

template<typename T, typename TAllocator, typename TDeleter>
bool VW::value_object_pool< T, TAllocator, TDeleter >::empty ( ) const
inline
template<typename T, typename TAllocator, typename TDeleter>
T VW::value_object_pool< T, TAllocator, TDeleter >::get_object ( )
inline
template<typename T, typename TAllocator, typename TDeleter>
void VW::value_object_pool< T, TAllocator, TDeleter >::return_object ( obj)
inline
template<typename T, typename TAllocator, typename TDeleter>
size_t VW::value_object_pool< T, TAllocator, TDeleter >::size ( ) const
inline

The documentation for this struct was generated from the following file: