#ifndef PYTHONIC_BUILTIN_MAX_HPP #define PYTHONIC_BUILTIN_MAX_HPP #include "pythonic/include/builtins/max.hpp" #include "pythonic/builtins/minmax.hpp" #include "pythonic/operator_/lt.hpp" #include "pythonic/utils/functor.hpp" PYTHONIC_NS_BEGIN namespace builtins { template auto max(Types &&... values) -> decltype(details::minmax(operator_::functor::lt{}, std::forward(values)...)) { return details::minmax(operator_::functor::lt{}, std::forward(values)...); } } PYTHONIC_NS_END #endif