Smart pointers

Smart memory management with pseudo pointers. More...


Files

file  ref_count_manager.hh
 Definition of utilmm::smart::ref_count::manager.
file  simple_memory.hh
 Definition of utilmm::smart::ref_count::simple_memory.
file  uniq_memory.hh
 Defintion of utilmm::smart::ref_count::uniq_memory.
file  count_pointer.hh
 Definition of a reference counting smart pointer.
file  pointer.hh
 Definition of utilmm::smart::pointer.
file  uniq_pointer.hh
 Definition of a reference counting smart pointer.

Namespaces

namespace  utilmm::smart
 Smart pointers implementation.

Classes

class  utilmm::smart::ref_count::manager< Memory >
 Reference counting management. More...
struct  utilmm::smart::ref_count::simple_memory< Ty >
 simple memory manager for utilmm::smart::ref_count::manager More...
struct  utilmm::smart::ref_count::hash_ptr< Ty, Hash >
 Special hash functor for utilmm::smart::ref_count::uniq_memory. More...
struct  utilmm::smart::ref_count::eq_ptr< Ty, Equal >
 In depth pointer equality functor. More...
class  utilmm::smart::ref_count::uniq_memory< Ty, Hash, Equal >
 Unique instance memory manager. More...
struct  utilmm::smart::count_pointer< Ty >
 reference counting pointer definition traits More...
class  utilmm::smart::null_access
 Null pointer access exception. More...
class  utilmm::smart::pointer< Manager >
 Generic smart pointer. More...
struct  utilmm::smart::uniq_pointer< Ty, Hash, Equal >
 Unique instance memory pointer definition traits. More...

Detailed Description

Smart memory management with pseudo pointers.

This module embeds all the component used to make smart pointers. A smart pointer is a class that overload the operators * and -> to behave like a pointer. Generally it offers a solution to ease the memory management in C++.

Warning:
smart pointers are not the ultimate solution to manage memory indeed genrally each smart pointer have a weakness and you have to know exactly what this pseudo pointer do to check if it is usefull or not for your program.

Generated on Tue Feb 19 10:51:01 2008 for Util-- by doxygen 1.5.3
SourceForge.net Project Page