CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
npstat::pluseq_right< T1, T2 > Struct Template Reference

#include <SimpleFunctors.h>

Public Member Functions

T2 & operator() (const T1 &left, T2 &right) const
 

Detailed Description

template<typename T1, typename T2>
struct npstat::pluseq_right< T1, T2 >

In-place addition on the right side

Definition at line 259 of file SimpleFunctors.h.

Member Function Documentation

template<typename T1 , typename T2 >
T2& npstat::pluseq_right< T1, T2 >::operator() ( const T1 &  left,
T2 &  right 
) const
inline

Definition at line 261 of file SimpleFunctors.h.

262  {return right += left;}