A simple garbage collector - pool based, a object for this colector must be extends auto_release_object.
More...
#include <mn_auto_release.hpp>
template<class TRELOBJ = auto_release_object, class TALLOCATOR = memory::default_allocator_t>
class mn::auto_release< TRELOBJ, TALLOCATOR >
A simple garbage collector - pool based, a object for this colector must be extends auto_release_object.
- Template Parameters
-
TRELOBJ | The object |
TALLOCATOR | The using allocator for the list |
◆ list_type
template<class TRELOBJ = auto_release_object, class TALLOCATOR = memory::default_allocator_t>
◆ pointer
template<class TRELOBJ = auto_release_object, class TALLOCATOR = memory::default_allocator_t>
◆ reference
template<class TRELOBJ = auto_release_object, class TALLOCATOR = memory::default_allocator_t>
◆ self_type
template<class TRELOBJ = auto_release_object, class TALLOCATOR = memory::default_allocator_t>
◆ value_type
template<class TRELOBJ = auto_release_object, class TALLOCATOR = memory::default_allocator_t>
◆ auto_release()
template<class TRELOBJ = auto_release_object, class TALLOCATOR = memory::default_allocator_t>
◆ ~auto_release()
template<class TRELOBJ = auto_release_object, class TALLOCATOR = memory::default_allocator_t>
Destroy this pool and release all objects.
◆ add()
template<class TRELOBJ = auto_release_object, class TALLOCATOR = memory::default_allocator_t>
Add a Object to the pool.
◆ back()
template<class TRELOBJ = auto_release_object, class TALLOCATOR = memory::default_allocator_t>
◆ front()
template<class TRELOBJ = auto_release_object, class TALLOCATOR = memory::default_allocator_t>
◆ release()
template<class TRELOBJ = auto_release_object, class TALLOCATOR = memory::default_allocator_t>
Release all objects in the pool.
◆ m_listReleaseble
template<class TRELOBJ = auto_release_object, class TALLOCATOR = memory::default_allocator_t>
The documentation for this class was generated from the following file: