CMS 3D CMS Logo

Public Member Functions

npstat::assign_left< T1, T2 > Struct Template Reference

#include <SimpleFunctors.h>

List of all members.

Public Member Functions

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

Detailed Description

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

Left assignment functor. Works just like normal binary assignment operator in places where functor is needed.

Definition at line 232 of file SimpleFunctors.h.


Member Function Documentation

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

Definition at line 234 of file SimpleFunctors.h.

            {return left = right;}