Scroll to navigation

std::negate(3) Library Functions Manual std::negate(3)

NAME

std::negate -

One of the math functors.

SYNOPSIS

Inherits unary_function< _Tp, _Tp >.

Public Types


typedef _Tp argument_type
typedef _Tp result_type

Public Member Functions


_Tp operator() (const _Tp &__x) const

Detailed Description

template<typename _Tp> struct std::negate< _Tp >

One of the math functors.

Definition at line 180 of file stl_function.h.

Member Typedef Documentation

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

argument_type is the type of the argument (no surprises here)

Definition at line 102 of file stl_function.h.

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

result_type is the return type

Definition at line 105 of file stl_function.h.

Author

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

19 Jun 2018 libstdc++