QMCPACK
FnWhere Struct Reference
+ Collaboration diagram for FnWhere:

Public Member Functions

template<class T1 , class T2 , class T3 >
TrinaryReturn< T1, T2, T3, FnWhere >::Type_t operator() (T1 &a, const T2 &b, const T3 &c) const
 

Detailed Description

Definition at line 749 of file OperatorTags.h.

Member Function Documentation

◆ operator()()

TrinaryReturn<T1, T2, T3, FnWhere>::Type_t operator() ( T1 &  a,
const T2 &  b,
const T3 &  c 
) const
inline

Definition at line 753 of file OperatorTags.h.

754  {
755  if (a)
756  return b;
757  else
758  return c;
759  }

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