#ifndef PYTHONIC_OPERATOR_IMOD_HPP #define PYTHONIC_OPERATOR_IMOD_HPP #include "pythonic/include/operator_/imod.hpp" #include "pythonic/utils/functor.hpp" PYTHONIC_NS_BEGIN namespace operator_ { template A imod(A const &a, B &&b) { return a % std::forward(b); } template A &imod(A &a, B &&b) { return a %= std::forward(b); } } PYTHONIC_NS_END #endif