aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/pythran/pythran/pythonic/include/operator_/lt.hpp
blob: b670073c9daba9fe866146a6098ab9080e0ae474 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef PYTHONIC_INCLUDE_OPERATOR_LT_HPP
#define PYTHONIC_INCLUDE_OPERATOR_LT_HPP

#include "pythonic/include/utils/functor.hpp"

PYTHONIC_NS_BEGIN

namespace operator_
{

  template <class A, class B>
  auto lt(A &&a, B &&b) -> decltype(std::forward<A>(a) < std::forward<B>(b));
  bool lt(char const *self, char const *other);

  DEFINE_FUNCTOR(pythonic::operator_, lt);
} // namespace operator_
PYTHONIC_NS_END

#endif