Template Struct tuple_less

Struct Documentation

template<std::size_t K>
struct tuple_less

compares Kth elements of two tuples

Public Functions

template<typename ...Ts>
inline std::enable_if_t<std::less{}(K, sizeof...(Ts)), bool> operator()(const std::tuple<Ts...> &a, const std::tuple<Ts...> &b) const