Scroll to navigation

std::binder1st< _Operation >(3cxx) std::binder1st< _Operation >(3cxx)

NAME

std::binder1st< _Operation > - One of the binder functors.

SYNOPSIS

#include <binders.h>

Inherits std::unary_function< _Operation::second_argument_type, _Operation::result_type >.

Public Types


typedef _Operation::second_argument_type argument_type
argument_type is the type of the argument typedef _Operation::result_type result_type
result_type is the return type

Public Member Functions


binder1st (const _Operation &__x, const typename _Operation::first_argument_type &__y)
_Operation::result_type operator() (const typename _Operation::second_argument_type &__x) const
_Operation::result_type operator() (typename _Operation::second_argument_type &__x) const

Protected Attributes


_Operation op
_Operation::first_argument_type value

Detailed Description

template<typename _Operation>

class std::binder1st< _Operation >"One of the binder functors.

Definition at line 108 of file binders.h.

Member Typedef Documentation

typedef _Operation::second_argument_type std::unary_function< _Operation::second_argument_type , _Operation::result_type >::argument_type [inherited]

argument_type is the type of the argument

Definition at line 120 of file stl_function.h.

typedef _Operation::result_type std::unary_function< _Operation::second_argument_type , _Operation::result_type >::result_type [inherited]

result_type is the return type

Definition at line 123 of file stl_function.h.

Constructor & Destructor Documentation

template<typename _Operation > std::binder1st< _Operation >::binder1st (const _Operation & __x, const typename _Operation::first_argument_type & __y) [inline]

Definition at line 117 of file binders.h.

Member Function Documentation

template<typename _Operation > _Operation::result_type std::binder1st< _Operation >::operator() (const typename _Operation::second_argument_type & __x) const [inline]

Definition at line 122 of file binders.h.

template<typename _Operation > _Operation::result_type std::binder1st< _Operation >::operator() (typename _Operation::second_argument_type & __x) const [inline]

Definition at line 128 of file binders.h.

Member Data Documentation

template<typename _Operation > _Operation std::binder1st< _Operation >::op [protected]

Definition at line 113 of file binders.h.

template<typename _Operation > _Operation::first_argument_type std::binder1st< _Operation >::value [protected]

Definition at line 114 of file binders.h.

Author

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

Thu Feb 16 2023 libstdc++