|
template<typename T1 , typename T2 > |
constexpr bool | operator() (T1 &&t1, T2 &&t2) const |
|
|
template<typename T1 , typename T2 > |
static constexpr bool | __comp__ (T1 &&t1, T2 &&t2) |
|
Definition at line 574 of file ntuples_full.h.
◆ __comp__()
static constexpr bool __comp__ |
( |
T1 && |
t1, |
|
|
T2 && |
t2 |
|
) |
| |
|
inlinestaticconstexpr |
Definition at line 577 of file ntuples_full.h.
578 {
579 bool ret = true;
580 constexpr_for<0, _Remove_cvref_t<T1>::__size__, 1>(
581 [&](const auto i) {
582 using N_th_T = _Remove_cvref_t<decltype(nt::get_nth<i>(t1))>;
583 if constexpr(contains_type_v<N_th_T, _Remove_cvref_t<T2>>) {
584 ret &= (N_th_T::get(t1) == N_th_T::get(t2));
585 }
586 });
587 return ret;
588 }
◆ operator()()
constexpr bool operator() |
( |
T1 && |
t1, |
|
|
T2 && |
t2 |
|
) |
| const |
|
inlineconstexpr |
Definition at line 591 of file ntuples_full.h.
592 {
593 return __comp__(std::forward<T1>(t1), std::forward<T2>(t2));
594 }
The documentation for this struct was generated from the following file: