# /home/coin/svn-release/Blis-0.94.1/CoinUtils/src/CoinSmartPtr.hpp File Reference

`#include <list>`
`#include <cassert>`
`#include <cstddef>`
`#include <cstring>`
Include dependency graph for CoinSmartPtr.hpp:

Go to the source code of this file.

## Classes
class | Coin::ReferencedObject
| ReferencedObject class. More...
class | Coin::SmartPtr< T >
| Template class for Smart Pointers. More...
## Namespaces
namespace | Coin
## Defines
#define | dbg_smartptr_verbosity 0
#define | CoinReferencedObject Coin::ReferencedObject
#define | CoinSmartPtr Coin::SmartPtr
#define | CoinComparePointers Coin::ComparePointers
## Functions
template<class U1 , class U2 >
bool | Coin::ComparePointers (const U1 *lhs, const U2 *rhs)
SmartPtr friends that are overloaded operators, so they are not in
the Coin namespace.
template<class U1 , class U2 >
bool | operator== (const Coin::SmartPtr< U1 > &lhs, const Coin::SmartPtr< U2 > &rhs)
template<class U1 , class U2 >
bool | operator== (const Coin::SmartPtr< U1 > &lhs, U2 *raw_rhs)
template<class U1 , class U2 >
bool | operator== (U1 *raw_lhs, const Coin::SmartPtr< U2 > &rhs)
template<class U1 , class U2 >
bool | operator!= (const Coin::SmartPtr< U1 > &lhs, const Coin::SmartPtr< U2 > &rhs)
template<class U1 , class U2 >
bool | operator!= (const Coin::SmartPtr< U1 > &lhs, U2 *raw_rhs)
template<class U1 , class U2 >
bool | operator!= (U1 *raw_lhs, const Coin::SmartPtr< U2 > &rhs)

## Define Documentation

#define dbg_smartptr_verbosity 0

Definition at line 379 of file CoinSmartPtr.hpp.

#define CoinReferencedObject Coin::ReferencedObject

Definition at line 524 of file CoinSmartPtr.hpp.

#define CoinSmartPtr Coin::SmartPtr

Definition at line 525 of file CoinSmartPtr.hpp.

#define CoinComparePointers Coin::ComparePointers

Definition at line 526 of file CoinSmartPtr.hpp.

## Function Documentation

template<class U1 , class U2 >

bool operator== | ( | const Coin::SmartPtr< U1 > & | lhs,
|  | const Coin::SmartPtr< U2 > & | rhs |
| ) |  |  | `[inline]`

Definition at line 494 of file CoinSmartPtr.hpp.

template<class U1 , class U2 >

bool operator== | ( | const Coin::SmartPtr< U1 > & | lhs,
|  | U2 * | raw_rhs |
| ) |  |  | `[inline]`

Definition at line 499 of file CoinSmartPtr.hpp.

template<class U1 , class U2 >

bool operator== | ( | U1 * | raw_lhs,
|  | const Coin::SmartPtr< U2 > & | rhs |
| ) |  |  | `[inline]`

Definition at line 504 of file CoinSmartPtr.hpp.

template<class U1 , class U2 >

bool operator!= | ( | const Coin::SmartPtr< U1 > & | lhs,
|  | const Coin::SmartPtr< U2 > & | rhs |
| ) |  |  | `[inline]`

Definition at line 509 of file CoinSmartPtr.hpp.

template<class U1 , class U2 >

bool operator!= | ( | const Coin::SmartPtr< U1 > & | lhs,
|  | U2 * | raw_rhs |
| ) |  |  | `[inline]`

Definition at line 514 of file CoinSmartPtr.hpp.

template<class U1 , class U2 >

bool operator!= | ( | U1 * | raw_lhs,
|  | const Coin::SmartPtr< U2 > & | rhs |
| ) |  |  | `[inline]`

Definition at line 519 of file CoinSmartPtr.hpp.