QMCPACK
LeafFunctor< T, DecrementLeaf > Struct Template Reference
+ Collaboration diagram for LeafFunctor< T, DecrementLeaf >:

Public Types

using Type_t = int
 

Static Public Member Functions

static Type_t apply (const T &cl, const DecrementLeaf &)
 

Detailed Description

template<class T>
struct qmcplusplus::LeafFunctor< T, DecrementLeaf >

Definition at line 297 of file Functors.h.

Member Typedef Documentation

◆ Type_t

using Type_t = int

Definition at line 299 of file Functors.h.

Member Function Documentation

◆ apply()

static Type_t apply ( const T &  cl,
const DecrementLeaf  
)
inlinestatic

Definition at line 300 of file Functors.h.

301  {
302  T& l = const_cast<T&>(cl);
303  --l;
304  return 0;
305  }

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