TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches

#include <nda/clef/eval.hpp>

Detailed Description

template<typename T, typename... Pairs>
struct nda::clef::evaluator< T, Pairs >

Generic evaluator for types which do not have a specialized evaluator.

Template Parameters
TType to be evaluated.
PairsTypes of nda::clef::pair objects.

Definition at line 55 of file eval.hpp.

Public Member Functions

__inline__ T const & operator() (T const &t, Pairs &...) const
 Evaluate the object and ignore all given nda::clef::pair objects.
 

Static Public Attributes

static constexpr bool is_lazy = is_any_lazy<T>
 Constexpr variable that is true if the type T is lazy.
 

Member Function Documentation

◆ operator()()

template<typename T , typename... Pairs>
__inline__ T const & nda::clef::evaluator< T, Pairs >::operator() ( T const & t,
Pairs & ... ) const
inline

Evaluate the object and ignore all given nda::clef::pair objects.

Parameters
tObject to be evaluated.
Returns
Const reference to the object.

Definition at line 65 of file eval.hpp.


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