libcopp  1.3.0
Namespaces | Data Structures | Functions
libcopp::util Namespace Reference

Namespaces

 lock
 

Data Structures

class  intrusive_ptr
 

Functions

template<typename T , typename U >
bool operator== (intrusive_ptr< T > const &a, intrusive_ptr< U > const &b)
 
template<typename T , typename U >
bool operator!= (intrusive_ptr< T > const &a, intrusive_ptr< U > const &b)
 
template<typename T , typename U >
bool operator== (intrusive_ptr< T > const &a, U *b)
 
template<typename T , typename U >
bool operator!= (intrusive_ptr< T > const &a, U *b)
 
template<typename T , typename U >
bool operator== (T *a, intrusive_ptr< U > const &b)
 
template<typename T , typename U >
bool operator!= (T *a, intrusive_ptr< U > const &b)
 
template<typename T >
bool operator< (intrusive_ptr< T > const &a, intrusive_ptr< T > const &b)
 
template<typename T >
void swap (intrusive_ptr< T > &lhs, intrusive_ptr< T > &rhs)
 
template<typename T >
T * get_pointer (intrusive_ptr< T > const &p)
 
template<typename T , typename U >
intrusive_ptr< T > static_pointer_cast (intrusive_ptr< U > const &p)
 
template<typename T , typename U >
intrusive_ptr< T > const_pointer_cast (intrusive_ptr< U > const &p)
 
template<typename T , typename U >
intrusive_ptr< T > dynamic_pointer_cast (intrusive_ptr< U > const &p)
 
template<typename E , typename T , typename Y >
std::basic_ostream< E, T > & operator<< (std::basic_ostream< E, T > &os, intrusive_ptr< Y > const &p)
 

Function Documentation

template<typename T , typename U >
intrusive_ptr<T> libcopp::util::const_pointer_cast ( intrusive_ptr< U > const &  p)

Definition at line 231 of file intrusive_ptr.h.

References libcopp::util::intrusive_ptr< T >::get().

template<typename T , typename U >
intrusive_ptr<T> libcopp::util::dynamic_pointer_cast ( intrusive_ptr< U > const &  p)
template<typename T >
T* libcopp::util::get_pointer ( intrusive_ptr< T > const &  p)

Definition at line 221 of file intrusive_ptr.h.

References libcopp::util::intrusive_ptr< T >::get().

template<typename T , typename U >
bool libcopp::util::operator!= ( intrusive_ptr< T > const &  a,
intrusive_ptr< U > const &  b 
)
inline

Definition at line 160 of file intrusive_ptr.h.

References libcopp::util::intrusive_ptr< T >::get().

Referenced by operator!=().

template<typename T , typename U >
bool libcopp::util::operator!= ( intrusive_ptr< T > const &  a,
U *  b 
)
inline

Definition at line 170 of file intrusive_ptr.h.

References libcopp::util::intrusive_ptr< T >::get().

template<typename T , typename U >
bool libcopp::util::operator!= ( T *  a,
intrusive_ptr< U > const &  b 
)
inline
template<typename T >
bool libcopp::util::operator< ( intrusive_ptr< T > const &  a,
intrusive_ptr< T > const &  b 
)
inline

Definition at line 209 of file intrusive_ptr.h.

template<typename E , typename T , typename Y >
std::basic_ostream<E, T>& libcopp::util::operator<< ( std::basic_ostream< E, T > &  os,
intrusive_ptr< Y > const &  p 
)

Definition at line 242 of file intrusive_ptr.h.

References libcopp::util::intrusive_ptr< T >::get().

template<typename T , typename U >
bool libcopp::util::operator== ( intrusive_ptr< T > const &  a,
intrusive_ptr< U > const &  b 
)
inline

Definition at line 155 of file intrusive_ptr.h.

References libcopp::util::intrusive_ptr< T >::get().

Referenced by operator!=().

template<typename T , typename U >
bool libcopp::util::operator== ( intrusive_ptr< T > const &  a,
U *  b 
)
inline

Definition at line 165 of file intrusive_ptr.h.

References libcopp::util::intrusive_ptr< T >::get().

template<typename T , typename U >
bool libcopp::util::operator== ( T *  a,
intrusive_ptr< U > const &  b 
)
inline

Definition at line 175 of file intrusive_ptr.h.

References libcopp::util::intrusive_ptr< T >::get().

template<typename T , typename U >
intrusive_ptr<T> libcopp::util::static_pointer_cast ( intrusive_ptr< U > const &  p)

Definition at line 226 of file intrusive_ptr.h.

References libcopp::util::intrusive_ptr< T >::get().

template<typename T >
void libcopp::util::swap ( intrusive_ptr< T > &  lhs,
intrusive_ptr< T > &  rhs 
)