19 #ifndef _MINILIB_cd8c0484_ab57_11eb_9d1f_f714def23089_H__
20 #define _MINILIB_cd8c0484_ab57_11eb_9d1f_f714def23089_H__
42 template <
class TRELOBJ = auto_release_
object,
class TALLOCATOR = memory::default_allocator_t >
Definition: mn_auto_release.hpp:27
virtual pointer release()
Definition: mn_auto_release.hpp:32
void * pointer
Definition: mn_auto_release.hpp:29
virtual selt_type * duplicate()
Definition: mn_auto_release.hpp:33
A simple garbage collector - pool based, a object for this colector must be extends auto_release_obje...
Definition: mn_auto_release.hpp:43
list_type m_listReleaseble
Definition: mn_auto_release.hpp:83
void add(pointer pObject)
Add a Object to the pool.
Definition: mn_auto_release.hpp:60
pointer back()
Definition: mn_auto_release.hpp:77
TRELOBJ value_type
Definition: mn_auto_release.hpp:46
auto_release()
Definition: mn_auto_release.hpp:51
void release()
Release all objects in the pool.
Definition: mn_auto_release.hpp:67
pointer front()
Definition: mn_auto_release.hpp:74
TRELOBJ & reference
Definition: mn_auto_release.hpp:48
~auto_release()
Destroy this pool and release all objects.
Definition: mn_auto_release.hpp:55
TRELOBJ * pointer
Definition: mn_auto_release.hpp:47
Definition: mn_list.hpp:77
bool empty() const
Definition: mn_list.hpp:184
const T & back() const
Definition: mn_list.hpp:130
void push_back(const T &value)
Definition: mn_list.hpp:144
void pop_front()
Definition: mn_list.hpp:137
const T & front() const
Definition: mn_list.hpp:127
Definition: mn_allocator_typetraits.hpp:25