FIFE  6e1afdbeda11afe9ac53e6023a4be96ef88f1dc6
sharedptr.h File Reference
#include <cassert>
#include <functional>
#include "fife_stdint.h"
+ Include dependency graph for sharedptr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FIFE::SharedPtr< T >
 shared pointer implementation to provide automatic reference counting and deletion when last reference falls out of scope. More...
 

Namespaces

 FIFE
 

Functions

template<typename T , typename U >
bool FIFE::operator== (const SharedPtr< T > &lhs, const SharedPtr< U > &rhs)
 provides equality operator for shared pointers More...
 
template<typename T , typename U >
bool FIFE::operator!= (const SharedPtr< T > &lhs, const SharedPtr< U > &rhs)
 provides inequality operator for shared pointers More...
 
template<class T , class U >
bool FIFE::operator< (SharedPtr< T > const &lhs, SharedPtr< U > const &rhs)
 provides less than operator for shared pointers More...
 
template<typename T >
SharedPtr< T > FIFE::make_shared (T *ptr)
 convenience function for making a shared pointer can be used anytime a shared pointer should be created More...