std::tr1 Namespace Reference

Everything defined by the TR1 is within namespace std::tr1.

Classes

Typedefs

Enumerations

Functions

Variables


Function Documentation

shared_ptr<_Tp> std::tr1::const_pointer_cast ( const shared_ptr< _Tp1 > &  __r  )  [inline]

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 744 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  )  [inline]

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 756 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 505 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 1069 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 1059 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 1045 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 1035 of file tr1/functional.

shared_ptr<_Tp> std::tr1::static_pointer_cast ( const shared_ptr< _Tp1 > &  __r  )  [inline]

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 732 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 1083 of file tr1/functional.

References std::swap().


Generated on Tue Dec 2 03:59:56 2008 for libstdc++ by  doxygen 1.5.7.1