STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
negate< _Ty > Struct Template Reference

Public Types

typedef _Ty argument_type
 
typedef _Ty result_type
 

Public Member Functions

constexpr _Ty operator() (const _Ty &_Left) const
 

Member Typedef Documentation

template<class _Ty = void>
typedef _Ty negate< _Ty >::argument_type
template<class _Ty = void>
typedef _Ty negate< _Ty >::result_type

Member Function Documentation

template<class _Ty = void>
constexpr _Ty negate< _Ty >::operator() ( const _Ty &  _Left) const
inline
62  { // apply operator- to operand
63  return (-_Left);
64  }
constexpr const _Ty &() _Left
Definition: algorithm:3722

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