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

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

PYTHONIC_NS_BEGIN

namespace operator_
{

  template <class A, class B>
  auto ne(A &&a, B &&b) -> decltype(std::forward<A>(a) != std::forward<B>(b));

  bool ne(char const *a, char const *b);

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

#endif