std::tr1 Namespace Reference

Classes

Typedefs

Enumerations

Functions

Variables


Function Documentation

shared_ptr<_Tp> std::tr1::const_pointer_cast const shared_ptr< _Tp1 > &  __r  ) 
 

Warning:
The seemingly equivalent shared_ptr<T>(const_cast<T*>(r.get())) will eventually result in undefined behaviour, attempting to delete the same object twice.

Definition at line 731 of file boost_shared_ptr.h.

References const_pointer_cast().

Referenced by const_pointer_cast().

shared_ptr<_Tp> std::tr1::dynamic_pointer_cast const shared_ptr< _Tp1 > &  __r  ) 
 

Warning:
The seemingly equivalent shared_ptr<T>(dynamic_cast<T*>(r.get())) will eventually result in undefined behaviour, attempting to delete the same object twice.

Definition at line 743 of file boost_shared_ptr.h.

References dynamic_pointer_cast().

Referenced by dynamic_pointer_cast().

_Mem_fn<_Tp _Class::*> std::tr1::mem_fn _Tp _Class::*  __pm  )  [inline]
 

Returns a function object that forwards to the member pointer pm.

Definition at line 500 of file tr1/functional.

bool std::tr1::operator!= _M_clear_type *  ,
const function< _Signature > &  __f
[inline]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1062 of file tr1/functional.

bool std::tr1::operator!= const function< _Signature > &  __f,
_M_clear_type * 
[inline]
 

Compares a polymorphic function object wrapper against 0 (the NULL pointer).

Returns:
false if the wrapper has no target, true otherwise
This function will not throw an exception.

Definition at line 1052 of file tr1/functional.

bool std::tr1::operator== _M_clear_type *  ,
const function< _Signature > &  __f
[inline]
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1038 of file tr1/functional.

bool std::tr1::operator== const function< _Signature > &  __f,
_M_clear_type * 
[inline]
 

Compares a polymorphic function object wrapper against 0 (the NULL pointer).

Returns:
true if the wrapper has no target, false otherwise
This function will not throw an exception.

Definition at line 1028 of file tr1/functional.

shared_ptr<_Tp> std::tr1::static_pointer_cast const shared_ptr< _Tp1 > &  __r  ) 
 

Warning:
The seemingly equivalent shared_ptr<T>(static_cast<T*>(r.get())) will eventually result in undefined behaviour, attempting to delete the same object twice.

Definition at line 719 of file boost_shared_ptr.h.

References static_pointer_cast().

Referenced by static_pointer_cast().

void std::tr1::swap function< _Signature > &  __x,
function< _Signature > &  __y
[inline]
 

Swap the targets of two polymorphic function object wrappers.

This function will not throw an exception.

Definition at line 1076 of file tr1/functional.

References std::swap().


Generated on Wed Apr 27 18:36:30 2005 for libstdc++ source by  doxygen 1.4.2