C++ main module for gpm Package  1.0
SharedPointer Namespace Reference

file CORE_Pointers.hpp CORE interface to reference-counting pointers More...

Detailed Description

file CORE_Pointers.hpp CORE interface to reference-counting pointers

CORE Pointers

CORE pointers are reference counting pointers. Memory pointed by a CORE pointer is automaticaly deallocated.

Basic usage :

 SP::<CORE Object> myobject;
 myobject.reset(new <CORE Object>(...));

More documentation on smart pointers and reference counting: