Namespaces | Classes | Typedefs | Enumerations | Functions | Variables

std::tr1 Namespace Reference

ISO C++ TR1 entities toplevel namespace is std::tr1. More...

Namespaces

Classes

Typedefs

Enumerations

Functions

Matching, Searching, and Replacing

Variables


Detailed Description

ISO C++ TR1 entities toplevel namespace is std::tr1.


Function Documentation

template<typename _Functor , typename... _ArgTypes>
_Bind<typename _Maybe_wrap_member_pointer<_Functor>::type(_ArgTypes...)> std::tr1::bind ( _Functor  __f,
_ArgTypes...  __args 
) [inline]

bind

Definition at line 1343 of file tr1_impl/functional.

Referenced by std::call_once().

template<typename _Tp , typename _Class >
_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 794 of file tr1_impl/functional.

template<typename _Signature >
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 2108 of file tr1_impl/functional.

template<typename _Signature >
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 2114 of file tr1_impl/functional.

template<typename _CharT , typename _Traits >
std::basic_ostream<_CharT, _Traits>& std::tr1::operator<< ( std::basic_ostream< _CharT, _Traits > &  __os,
const bernoulli_distribution &  __x 
)

Inserts a bernoulli_distribution random number distribution __x into the output stream __os.

Parameters:
__os An output stream.
__x A bernoulli_distribution random number distribution.
Returns:
The output stream with the state of __x inserted or in an error state.

Definition at line 823 of file random.tcc.

References std::ios_base::flags(), std::left(), and std::scientific().

template<typename _Signature >
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 2090 of file tr1_impl/functional.

template<typename _Signature >
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 2096 of file tr1_impl/functional.

template<typename _Signature >
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 2126 of file tr1_impl/functional.


Variable Documentation

__gnu_cxx::__enable_if< (is_pointer< _Functor >::value &&is_function< typename remove_pointer< _Functor >::type >::value), typename result_of< _Functor(_Args...)>::type >::__type std::tr1::__invoke [inline]

Invoke a function object, which may be either a member pointer or a function object. The first parameter will tell which.

Definition at line 265 of file tr1_impl/functional.