QMCPACK
OpAddAssign Struct Reference
+ Collaboration diagram for OpAddAssign:

Public Member Functions

template<class T1 , class T2 >
BinaryReturn< T1, T2, OpAddAssign >::Type_t operator() (const T1 &a, const T2 &b) const
 

Detailed Description

Definition at line 563 of file OperatorTags.h.

Member Function Documentation

◆ operator()()

BinaryReturn<T1, T2, OpAddAssign>::Type_t operator() ( const T1 &  a,
const T2 &  b 
) const
inline

Definition at line 567 of file OperatorTags.h.

568  {
569  (const_cast<T1&>(a) += b);
570  return const_cast<T1&>(a);
571  }

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