You.i Engine
YiScopedPtr.h File Reference
#include "smartptr/YiDeleteFunctors.h"
#include "utility/YiError.h"
#include <memory>

Go to the source code of this file.

Classes

class  CYIScopedPtr< YI_PTR_TYPE, YI_DELETE_FUNCTOR >
 The CYIScopedPtr is a smart pointer that takes sole ownership of a dynamically allocated object, and destroys the object when going out of scope. More...
 

Functions

template<typename YI_L_PTR_TYPE , typename YI_L_DELETE_FUNCTOR , typename YI_R_PTR_TYPE , typename YI_R_DELETE_FUNCTOR >
bool operator== (const CYIScopedPtr< YI_L_PTR_TYPE, YI_L_DELETE_FUNCTOR > &rLhs, const CYIScopedPtr< YI_R_PTR_TYPE, YI_R_DELETE_FUNCTOR > &rRhs)
 
template<typename YI_L_PTR_TYPE , typename YI_L_DELETE_FUNCTOR , typename YI_R_PTR_TYPE , typename YI_R_DELETE_FUNCTOR >
bool operator!= (const CYIScopedPtr< YI_L_PTR_TYPE, YI_L_DELETE_FUNCTOR > &rLhs, const CYIScopedPtr< YI_R_PTR_TYPE, YI_R_DELETE_FUNCTOR > &rRhs)
 
template<typename YI_L_PTR_TYPE , typename YI_L_DELETE_FUNCTOR , typename YI_R_PTR_TYPE >
bool operator== (const CYIScopedPtr< YI_L_PTR_TYPE, YI_L_DELETE_FUNCTOR > &rLhs, const YI_R_PTR_TYPE *pRhs)
 
template<typename YI_L_PTR_TYPE , typename YI_L_DELETE_FUNCTOR , typename YI_R_PTR_TYPE >
bool operator!= (const CYIScopedPtr< YI_L_PTR_TYPE, YI_L_DELETE_FUNCTOR > &rLhs, const YI_R_PTR_TYPE *pRhs)
 
template<typename YI_L_PTR_TYPE , typename YI_R_PTR_TYPE , typename YI_R_DELETE_FUNCTOR >
bool operator== (const YI_L_PTR_TYPE *pLhs, const CYIScopedPtr< YI_R_PTR_TYPE, YI_R_DELETE_FUNCTOR > &rRhs)
 
template<typename YI_L_PTR_TYPE , typename YI_R_PTR_TYPE , typename YI_R_DELETE_FUNCTOR >
bool operator!= (const YI_L_PTR_TYPE *pLhs, const CYIScopedPtr< YI_R_PTR_TYPE, YI_R_DELETE_FUNCTOR > &rRhs)