Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | List of all members
VW::moved_object_pool< T > Class Template Reference

#include <object_pool.h>

Public Member Functions

 moved_object_pool ()=default
 
void reclaim_object (T &&obj)
 
void acquire_object (T &dest)
 
bool empty () const
 
size_t size () const
 

Constructor & Destructor Documentation

◆ moved_object_pool()

template<typename T >
VW::moved_object_pool< T >::moved_object_pool ( )
default

Member Function Documentation

◆ acquire_object()

template<typename T >
void VW::moved_object_pool< T >::acquire_object ( T &  dest)
inline

◆ empty()

template<typename T >
bool VW::moved_object_pool< T >::empty ( ) const
inline

◆ reclaim_object()

template<typename T >
void VW::moved_object_pool< T >::reclaim_object ( T &&  obj)
inline

◆ size()

template<typename T >
size_t VW::moved_object_pool< T >::size ( ) const
inline

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