Belle II Software release-09-00-01
on_common_args_t Struct Reference

Public Member Functions

template<typename T1 , typename T2 >
constexpr bool operator() (T1 &&t1, T2 &&t2) const
 

Static Public Member Functions

template<typename T1 , typename T2 >
static constexpr bool __comp__ (T1 &&t1, T2 &&t2)
 

Detailed Description

Definition at line 586 of file ntuples_full.h.

Member Function Documentation

◆ __comp__()

static constexpr bool __comp__ ( T1 &&  t1,
T2 &&  t2 
)
inlinestaticconstexpr

Definition at line 589 of file ntuples_full.h.

590 {
591 bool ret = true;
592 constexpr_for<0, _Remove_cvref_t<T1>::__size__, 1>(
593 [&](const auto i) {
594 using N_th_T = _Remove_cvref_t<decltype(nt::get_nth<i>(t1))>;
595 if constexpr(contains_type_v<N_th_T, _Remove_cvref_t<T2>>) {
596 ret &= (N_th_T::get(t1) == N_th_T::get(t2));
597 }
598 });
599 return ret;
600 }

◆ operator()()

constexpr bool operator() ( T1 &&  t1,
T2 &&  t2 
) const
inlineconstexpr

Definition at line 603 of file ntuples_full.h.

604 {
605 return __comp__(std::forward<T1>(t1), std::forward<T2>(t2));
606 }

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