ReactOS 0.4.16-dev-125-g798ea90
negate< _Tp > Struct Template Reference

#include <_function.h>

Inheritance diagram for negate< _Tp >:
Collaboration diagram for negate< _Tp >:

Public Member Functions

_Tp operator() (const _Tp &__x) const
 

Additional Inherited Members

- Public Types inherited from unary_function< _Tp, _Tp >
typedef _Tp argument_type
 
typedef _Tp result_type
 
- Protected Member Functions inherited from unary_function< _Tp, _Tp >
 ~unary_function ()
 

Detailed Description

template<class _Tp>
struct negate< _Tp >

Definition at line 74 of file _function.h.

Member Function Documentation

◆ operator()()

template<class _Tp >
_Tp negate< _Tp >::operator() ( const _Tp &  __x) const
inline

Definition at line 75 of file _function.h.

75{ return -__x; }

The documentation for this struct was generated from the following file: