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

Public Types

typedef int is_transparent
 

Public Member Functions

template<class _Ty1 , class _Ty2 >
constexpr auto operator() (_Ty1 &&_Left, _Ty2 &&_Right) const -> decltype(static_cast< _Ty1 && >(_Left)-static_cast< _Ty2 && >(_Right))
 

Member Typedef Documentation

Member Function Documentation

template<class _Ty1 , class _Ty2 >
constexpr auto minus< void >::operator() ( _Ty1 &&  _Left,
_Ty2 &&  _Right 
) const -> decltype(static_cast<_Ty1&&>(_Left) - static_cast<_Ty2&&>(_Right))
inline
266  { // transparently apply operator- to operands
267  return (static_cast<_Ty1&&>(_Left)
268  - static_cast<_Ty2&&>(_Right));
269  }
constexpr const _Ty &() _Left
Definition: algorithm:3722
constexpr const _Ty &() _Right
Definition: algorithm:3723

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