in fatal/type/deprecated/type_list.h [2622:2652]
static constexpr bool impl(
TComparison &&comparison, Needle &&needle,
Visitor &&visitor, VArgs &&...args
) {
// ternary needed due to C++11's constexpr restrictions
return comparison < 0
? left::template apply_front<
type_list_impl::binary_search_exact, Comparer
>::template search<Offset>(
std::forward<Needle>(needle),
std::forward<Visitor>(visitor),
std::forward<VArgs>(args)...
)
: (0 < comparison
? right::template apply_front<
type_list_impl::binary_search_exact, Comparer
>::template search<Offset + left::size + 1>(
std::forward<Needle>(needle),
std::forward<Visitor>(visitor),
std::forward<VArgs>(args)...
)
: (
// comma operator needed due to C++11's constexpr restrictions
visitor(
pivot<Offset>{},
std::forward<Needle>(needle),
std::forward<VArgs>(args)...
), true
)
);
}