TRIQS/nda 1.3.0
Multi-dimensional array library for C++
|
#include <nda/clef/function.hpp>
Specialization of nda::clef::evaluator for nda::clef::make_fun_impl types.
T | Type of the object stored in the nda::clef::make_fun_impl object. |
Is | Integer labels of the nda::clef::make_fun_impl type. |
Pairs | Types of the nda::clef::pair objects. |
Definition at line 115 of file function.hpp.
Public Types | |
using | e_t = evaluator<T, Pairs...> |
Type of the evaluator used. | |
Public Member Functions | |
__inline__ decltype(auto) | operator() (make_fun_impl< T, Is... > const &f, Pairs &...pairs) const |
Evaluate the nda::clef::make_fun_impl object. | |
Static Public Attributes | |
static constexpr bool | is_lazy = (detail::ph_set<make_fun_impl<T, Is...>>::value != detail::ph_set<Pairs...>::value) |
Constexpr variable that is true if all the placeholders are assigned a value. | |
|
inline |
Evaluate the nda::clef::make_fun_impl object.
It first evaluates the object stored in the given nda::clef::make_fun_impl object by applying the given pairs. The result is then used to construct a new nda::clef::make_fun_impl instance together with the placeholders from the original nda::clef::make_fun_impl object.
f | nda::clef::make_fun_impl object. |
pairs | nda::clef::pair objects. |
Definition at line 133 of file function.hpp.