CMS 3D CMS Logo

List of all members | Public Member Functions
npstat::diveq_left< T1, T2 > Struct Template Reference

#include <SimpleFunctors.h>

Public Member Functions

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

Detailed Description

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

In-place division on the left side withot checking for division by 0

Definition at line 291 of file SimpleFunctors.h.

Member Function Documentation

◆ operator()()

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

Definition at line 292 of file SimpleFunctors.h.

292 { return left /= right; }