shared_ptr<_Tp> std::tr1::const_pointer_cast | ( | const shared_ptr< _Tp1 > & | __r | ) |
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.
shared_ptr<_Tp> std::tr1::dynamic_pointer_cast | ( | const shared_ptr< _Tp1 > & | __r | ) |
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.
_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.
Referenced by __callable_functor(), _Function_handler< void(_GLIBCXX_TEMPLATE_ARGS), _Member _Class::* >::_M_invoke(), and _Function_handler< _Res(_GLIBCXX_TEMPLATE_ARGS), _Member _Class::* >::_M_invoke().
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).
false
if the wrapper has no target, true
otherwiseDefinition 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).
true
if the wrapper has no target, false
otherwiseDefinition at line 1035 of file tr1/functional.
shared_ptr<_Tp> std::tr1::static_pointer_cast | ( | const shared_ptr< _Tp1 > & | __r | ) |
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.
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.