std::negate< _Tp >(3) Library Functions Manual std::negate< _Tp >(3)

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

#include <stl_function.h>

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++