include/cglib/reference.h File Reference

#include <stdlib.h>

Go to the source code of this file.

Classes

class  Reference< T >
 A container for reference-counted objects. More...

Functions

template<class T >
bool operator== (T *_ptr, const Reference< T > ref)
 Check whether the given pointer is equal to the pointer the given reference holds.
template<class T >
bool operator!= (T *_ptr, const Reference< T > ref)
 Check whether the given pointer is not equal to the pointer the given reference holds.
template<class T >
bool operator< (T *_ptr, const Reference< T > ref)
 Check whether the given pointer is less than the pointer the given reference holds.


Function Documentation

template<class T >
bool operator!= ( T *  _ptr,
const Reference< T >  ref 
) [inline]

Check whether the given pointer is not equal to the pointer the given reference holds.

template<class T >
bool operator< ( T *  _ptr,
const Reference< T >  ref 
) [inline]

Check whether the given pointer is less than the pointer the given reference holds.

template<class T >
bool operator== ( T *  _ptr,
const Reference< T >  ref 
) [inline]

Check whether the given pointer is equal to the pointer the given reference holds.


Generated on Tue Sep 8 02:20:35 2009 for cglib by  doxygen 1.5.9