#ifndef PYTHONIC_OPERATOR_LE_HPP #define PYTHONIC_OPERATOR_LE_HPP #include "pythonic/include/operator_/le.hpp" #include "pythonic/utils/functor.hpp" #include PYTHONIC_NS_BEGIN namespace operator_ { template auto le(A &&a, B &&b) -> decltype(std::forward(a) <= std::forward(b)) { return std::forward(a) <= std::forward(b); } bool le(char const *self, char const *other) { return strcmp(self, other) <= 0; } } PYTHONIC_NS_END #endif