Scroll to navigation

std::negate< _Tp >(3cxx) std::negate< _Tp >(3cxx)

NAME

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

SYNOPSIS

#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.

Definition at line 235 of file functional.

Member Typedef Documentation

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

argument_type is the type of the argument

Definition at line 120 of file functional.

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

result_type is the return type

Definition at line 123 of file functional.

Member Function Documentation

template<typename _Tp > constexpr _Tp std::negate< _Tp >::operator() (const _Tp & __x) const [inline], [constexpr]

Definition at line 239 of file functional.

Author

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

Sun Jan 8 2023 libstdc++