man std::binder2nd (Fonctions bibliothèques) - One of the binder functors.

NAME

std::binder2nd - One of the binder functors.

SYNOPSIS



#include <functional>

Inherits std::unary_function< Operation::first_argument_type, Operation::result_type >.

Public Types

typedef Operation::first_argument_type argument_type

argument_type is the type of the typedef Operation::result_type result_type

argument (no surprises here) result_type is the return type

Public Member Functions

binder2nd (const Operation &x, const typename Operation::second_argument_type &y)

Operation::result_type operator() (const typename Operation::first_argument_type &x) const

Operation::result_type operator() (typename Operation::first_argument_type &x) const

Protected Attributes

Operation op

Operation::second_argument_type value

Detailed Description

template<class Operation> class std::binder2nd< Operation >

One of the binder functors.

Definition at line 426 of file functional.

Member Typedef Documentation

typedef Operation::first_argument_type std::unary_function< Operation::first_argument_type , Operation::result_type >::argument_type [inherited]

argument_type is the type of the

Definition at line 104 of file functional.

typedef Operation::result_type std::unary_function< Operation::first_argument_type , Operation::result_type >::result_type [inherited]

argument (no surprises here) result_type is the return type

Definition at line 107 of file functional.

Author

Generated automatically by Doxygen for libstdc++-v3 Source from the source code.