Computes the maximum value of applications of f to all elements of kumi::flatten_all(t).
{
template<
typename T,
typename F>
struct max_flat;
template<typename T, typename F>
using max_flat_t = typename max_flat<T, F>::type;
}
constexpr auto max_flat(T const &t, F f) noexcept
Computes the maximum value of applications of f to all elements of kumi::flatten_all(t).
Definition: minmax.hpp:115
Main KUMI namespace.
Definition: algorithm.hpp:11