Pol  Revision:3cfda13
refptr.h File Reference
#include "compilerspecifics.h"
#include <atomic>

Go to the source code of this file.

Classes

class  ref_counted
 
class  ref_ptr< T >
 

Macros

#define REFERER_PARAM(x)
 
#define REFPTR_DEBUG   0
 

Functions

template<class T >
bool operator!= (T *ptr, const ref_ptr< T > &rptr)
 
template<class T >
bool operator< (T *ptr, const ref_ptr< T > &rptr)
 
template<class T >
bool operator<= (T *ptr, const ref_ptr< T > &rptr)
 
template<class T >
bool operator== (T *ptr, const ref_ptr< T > &rptr)
 
template<class T >
bool operator> (T *ptr, const ref_ptr< T > &rptr)
 
template<class T >
bool operator>= (T *ptr, const ref_ptr< T > &rptr)
 

Detailed Description

History
Note
ATTENTION This header is part of the PCH Remove the include in all StdAfx.h files or live with the consequences :)

Definition in file refptr.h.

Macro Definition Documentation

#define REFERER_PARAM (   x)

Definition at line 28 of file refptr.h.

Referenced by ref_ptr< T >::add_ref(), and ref_ptr< T >::release().

#define REFPTR_DEBUG   0

Definition at line 26 of file refptr.h.

Function Documentation

template<class T >
bool operator!= ( T *  ptr,
const ref_ptr< T > &  rptr 
)

Definition at line 316 of file refptr.h.

References ref_ptr< T >::get().

Referenced by Pol::Core::ScriptDef::ScriptDef().

template<class T >
bool operator<= ( T *  ptr,
const ref_ptr< T > &  rptr 
)

Definition at line 328 of file refptr.h.

template<class T >
bool operator> ( T *  ptr,
const ref_ptr< T > &  rptr 
)

Definition at line 334 of file refptr.h.

References ref_ptr< T >::get().

template<class T >
bool operator>= ( T *  ptr,
const ref_ptr< T > &  rptr 
)

Definition at line 340 of file refptr.h.

References ref_ptr< T >::get().