std::negate
Min standard notice:
Header: <functional>
Function object for performing negation. Effectively calls operator- on an instance of type T.
# Declarations
template< class T >
struct negate;
(until C++14)
template< class T = void >
struct negate;
(since C++14)
# Parameters
arg: value to compute negation of
# Return value
The result of -arg.