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

Public Member Functions

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

Member Function Documentation

template<class _Ty1 , class _Ty2 >
auto plus< void >::operator() ( _Ty1 &&  _Left,
_Ty2 &&  _Right 
) const -> decltype(static_cast<_Ty1&&>(_Left) + static_cast<_Ty2&&>(_Right))
inline
206  { // transparently apply operator+ to operands
207  return (static_cast<_Ty1&&>(_Left)
208  + static_cast<_Ty2&&>(_Right));
209  }
const _Ty & _Right
Definition: algorithm:4087

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