#include <nda/clef/eval.hpp>
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
-
T | Value type of the std::reference_wrapper. |
Pairs | Types of the nda::clef::pair objects. |
Definition at line 124 of file eval.hpp.
|
__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 constexpr bool | is_lazy = false |
| Constexpr variable that is always false.
|
|
◆ 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
-
wrapper | std::reference_wrapper object. |
pairs | Pack 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: