STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
negate< _Ty > Struct Template Reference
Inheritance diagram for negate< _Ty >:
unary_function< _Ty, _Ty >

Public Member Functions

_Ty operator() (const _Ty &_Left) const
 

Additional Inherited Members

- Public Types inherited from unary_function< _Ty, _Ty >
typedef _Ty argument_type
 
typedef _Ty result_type
 

Member Function Documentation

template<class _Ty = void>
_Ty negate< _Ty >::operator() ( const _Ty &  _Left) const
inline
59  { // apply operator- to operand
60  return (-_Left);
61  }

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