DOKK / manpages / debian 13 / libstdc++-14-doc / std::negate.3cxx.en
std::negate< _Tp >(3cxx) std::negate< _Tp >(3cxx)

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

#include <functional>

Inherits std::unary_function< _Tp, _Tp >.


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


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

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

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

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

libstdc++