sprint 1-alpha
Classes | Namespaces | Functions
sprint/container/shared_ptr.h File Reference

sprint::shared_ptr More...

Go to the source code of this file.

Classes

struct  sprint::sharable
 a sharable object Help class to create a sharable intrusive object. This object represents the intrusive part. More...
class  sprint::shared_ptr< T >
 an intrusive shared_ptr implementation. More...

Namespaces

namespace  sprint
 

Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux.


Functions

template<class T >
void sprint::add_ref (T *obj)
 increase reference count
template<class T >
void sprint::release (T *obj)
 decrease reference count. when ref_count reaches 0 the object is detroyed using delete

Detailed Description

sprint::shared_ptr

Author:
Paolo Medici
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines