std::unary_function(3cxx)

std::unary_function3cxx

Usage

#include <functional>

Inherited by std::_Identity< _Value >, std::_Select1st< pair< const _Key, _Tp > >, and std::pointer_to_unary_function< _Arg, _Result >.

Public Types

typedef _Arg argument_type
argument_type is the type of the argument typedef _Result result_type
result_type is the return type

Detailed Description

template<typename _Arg, typename _Result>

struct std::unary_function< _Arg, _Result >"Helper for defining adaptable unary function objects.

Deprecated

Deprecated in C++11, no longer in the standard since C++17.

Member Typedef Documentation

template<typename _Arg , typename _Result > typedef _Arg std::unary_function< _Arg, _Result >::argument_type

argument_type is the type of the argument

template<typename _Arg , typename _Result > typedef _Result std::unary_function< _Arg, _Result >::result_type

result_type is the return type

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

Author

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

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.