Functor for selecting an element of a sequence. More...
#include <select.h>
Public Types | |
typedef std::unary_function < Sequence, typename Sequence::value_type > | Base |
The base type. | |
typedef Base::argument_type | argument_type |
The argument type. | |
typedef Base::result_type | result_type |
The result type. | |
Public Member Functions | |
result_type & | operator() (argument_type &x) const |
Return a reference to the N_th element. | |
const result_type & | operator() (const argument_type &x) const |
Return a const reference to the N_th element. |
Functor for selecting an element of a sequence.