Gyoto
|
Reference-counting pointers. More...
#include "GyotoUtils.h"
#include <pthread.h>
#include <GyotoError.h>
#include <stddef.h>
#include <iostream>
#include <typeinfo>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
class | Gyoto::SmartPointer< T > |
Pointers performing reference counting. More... | |
class | Gyoto::SmartPointee |
Can be pointed to by a SmartPointer. More... | |
class | Gyoto::SmartPointer< T > |
Pointers performing reference counting. More... | |
Namespaces | |
Gyoto | |
Namespace for the Gyoto library. | |
Reference-counting pointers.
Template class Gyoto::SmartPointer<T> performs reference counting on its pointee and makes sure the pointed to object is actually deleted when the number of references to it drops to zero. The pointed-to object must inherit from Gyoto::SmartPointee for this to work and be referenced to only by SmartPointers.