in fatal/type/deprecated/type_list.h [3224:3239]
static constexpr bool search(
Needle &&needle, Visitor &&visitor, VArgs &&...args
) {
// ternary needed due to C++11's constexpr restrictions
return Comparer::compare(needle, pivot<Offset>{}) < 0
? left::template apply<
type_list_impl::binary_search_upper_bound
>::template search<Comparer, Offset>(
needle, std::forward<Visitor>(visitor), std::forward<VArgs>(args)...
)
: right::template apply<
type_list_impl::binary_search_upper_bound
>::template search<Comparer, Offset + left::size>(
needle, std::forward<Visitor>(visitor), std::forward<VArgs>(args)...
);
}