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) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator== (intrusive_ptr< T > const &a, U *b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator== (T *a, intrusive_ptr< U > const &b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator!= (intrusive_ptr< T > const &a, intrusive_ptr< U > const &b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator!= (intrusive_ptr< T > const &a, U *b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator!= (T *a, intrusive_ptr< U > const &b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator< (intrusive_ptr< T > const &a, intrusive_ptr< U > const &b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator< (intrusive_ptr< T > const &a, U *b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator< (T *a, intrusive_ptr< U > const &b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator<= (intrusive_ptr< T > const &a, intrusive_ptr< U > const &b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator<= (intrusive_ptr< T > const &a, U *b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator<= (T *a, intrusive_ptr< U > const &b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator> (intrusive_ptr< T > const &a, intrusive_ptr< U > const &b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator> (intrusive_ptr< T > const &a, U *b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator> (T *a, intrusive_ptr< U > const &b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator>= (intrusive_ptr< T > const &a, intrusive_ptr< U > const &b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator>= (intrusive_ptr< T > const &a, U *b) UTIL_CONFIG_NOEXCEPT
 
template<typename T , typename U >
bool operator>= (T *a, intrusive_ptr< U > const &b) UTIL_CONFIG_NOEXCEPT
 
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 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 362 of file intrusive_ptr.h.

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

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

Definition at line 352 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 192 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 197 of file intrusive_ptr.h.

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

Definition at line 202 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 207 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,
U *  b 
)
inline

Definition at line 212 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 217 of file intrusive_ptr.h.

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

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 375 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 222 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,
U *  b 
)
inline

Definition at line 227 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 232 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 161 of file intrusive_ptr.h.

Referenced by operator>=().

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

Definition at line 166 of file intrusive_ptr.h.

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

Definition at line 171 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 237 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 242 of file intrusive_ptr.h.

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

Definition at line 247 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 252 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 257 of file intrusive_ptr.h.

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

Definition at line 357 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 
)