std::negate(3)

std::negate3

One of the math functors.

Usage

#include <functional>

Inherits std::unary_function< _Tp, _Tp >.

Public Types

typedef _Tp argument_type
argument_type is the type of the argument typedef _Tp result_type
result_type is the return type

Public Member Functions

constexpr _Tp operator() (const _Tp &__x) const

Detailed Description

template<typename _Tp>

struct std::negate< _Tp >"One of the math functors.

Member Typedef Documentation

typedef _Tp std::unary_function< _Tp, _Tp >::argument_type [inherited]

argument_type is the type of the argument

typedef _Tp std::unary_function< _Tp, _Tp >::result_type [inherited]

result_type is the return type

Releases

4 releases since Debian 3.1 (Sarge); the text changed 3 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. Arch

Author

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

From gcc 16.2.1+r23+gd564253eb6c8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.