TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
nda::clef::evaluator< std::reference_wrapper< T >, Pairs... >

#include <nda/clef/eval.hpp>

Detailed Description

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

Specialization of nda::clef::evaluator for std::reference_wrapper types.

Template Parameters
TValue type of the std::reference_wrapper.
PairsTypes of the nda::clef::pair objects.

Definition at line 124 of file eval.hpp.

Public Member Functions

__inline__ decltype(auto) operator() (std::reference_wrapper< T > const &wrapper, Pairs const &...pairs) const
 Evaluate the std::reference_wrapper by redirecting the evaluation to the object contained in the wrapper.
 

Static Public Attributes

static constexpr bool is_lazy = false
 Constexpr variable that is always false.
 

Member Function Documentation

◆ operator()()

template<typename T , typename... Pairs>
__inline__ decltype(auto) nda::clef::evaluator< std::reference_wrapper< T >, Pairs... >::operator() ( std::reference_wrapper< T > const & wrapper,
Pairs const &... pairs ) const
inline

Evaluate the std::reference_wrapper by redirecting the evaluation to the object contained in the wrapper.

Parameters
wrapperstd::reference_wrapper object.
pairsPack of nda::clef::pair objects.
Returns
The result of evaluating the object contained in the wrapper together with the given pairs.

Definition at line 135 of file eval.hpp.


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