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

Public Types

using Type_t = int
 

Static Public Member Functions

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

Detailed Description

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

Definition at line 245 of file Functors.h.

Member Typedef Documentation

◆ Type_t

using Type_t = int

Definition at line 247 of file Functors.h.

Member Function Documentation

◆ apply()

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

Definition at line 248 of file Functors.h.

249  {
250  T& l = const_cast<T&>(cl);
251  ++l;
252  return 0;
253  }

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