4 #ifndef UTILMM_SMART_REF_COUNT_MANAGER_HEADER 5 # define UTILMM_SMART_REF_COUNT_MANAGER_HEADER 34 template<
class Memory>
56 mem_cell
manage(base_type *ptr);
68 mem_cell
assign(mem_cell c);
91 return c==mem.null_cell();
122 # define IN_UTILMM_SMART_REF_COUNT_MANAGER_HEADER 123 #include "utilmm/smart/bits/ref_count_manager.tcc" 124 # undef IN_UTILMM_SMART_REF_COUNT_MANAGER_HEADER 125 #endif // UTILMM_SMART_REF_COUNT_MANAGER_HEADER Memory::mem_cell mem_cell
real type of pointed cells
Definition: ref_count_manager.hh:45
base_type * get_ptr(mem_cell c)
real pointer value.
Definition: ref_count_manager.hh:103
void release(mem_cell c)
Unassignement of a cell.
Reference counting management.
Definition: ref_count_manager.hh:35
mem_cell manage(base_type *ptr)
Add new pointer in management.
mem_cell assign(mem_cell c)
Assignment of a cell.
Forward declaration of utilmm::singleton::wrapper.
Wrapper for singleton instances.
Definition: wrapper.hh:31
Definition: auto_flag.hh:6
bool null(mem_cell c)
Check if null.
Definition: ref_count_manager.hh:90
Memory::base_type base_type
public type of pointed cells
Definition: ref_count_manager.hh:38