#ifndef PYTHONIC_INCLUDE_OPERATOR_ITRUEDIV_HPP #define PYTHONIC_INCLUDE_OPERATOR_ITRUEDIV_HPP #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/operator_/truediv.hpp" PYTHONIC_NS_BEGIN namespace operator_ { template auto itruediv(A const &a, B &&b) -> decltype(truediv(a, std::forward(b))); template auto itruediv(A &a, B &&b) -> typename std::enable_if< std::is_same(b)))>::value, A &>::type; template auto itruediv(A &a, B &&b) -> typename std::enable_if< !std::is_same(b)))>::value, decltype(truediv(a, std::forward(b)))>::type; DEFINE_FUNCTOR(pythonic::operator_, itruediv); } PYTHONIC_NS_END #endif