Classes | Namespaces | Files
Smart pointers

Smart memory management with pseudo pointers. More...

Collaboration diagram for Smart pointers:

Classes

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

Namespaces

namespace  utilmm::smart
 

Smart pointers implementation.


Files

file  count_pointer.hh
 

Definition of a reference counting smart pointer.


file  pointer.hh
 

Definition of utilmm::smart::pointer.


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  uniq_pointer.hh
 

Definition of a reference counting smart pointer.



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.


utilmm
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Wed Sep 16 2015 07:05:43