summaryrefslogtreecommitdiffstats
path: root/contrib/python/pythran/pythran/pythonic/include/operator_/ne.hpp
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2024-05-15 18:20:46 +0300
committerrobot-piglet <[email protected]>2024-05-15 18:29:20 +0300
commit95043960ea8ba262f5b0bc21f57f1a0ec2958cca (patch)
treed51e961867d88e6eea684ce89523eadb43190799 /contrib/python/pythran/pythran/pythonic/include/operator_/ne.hpp
parentbb793583d8882d549c2ff79010b300c33bc0c8eb (diff)
Intermediate changes
Diffstat (limited to 'contrib/python/pythran/pythran/pythonic/include/operator_/ne.hpp')
-rw-r--r--contrib/python/pythran/pythran/pythonic/include/operator_/ne.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/python/pythran/pythran/pythonic/include/operator_/ne.hpp b/contrib/python/pythran/pythran/pythonic/include/operator_/ne.hpp
new file mode 100644
index 00000000000..650db40338a
--- /dev/null
+++ b/contrib/python/pythran/pythran/pythonic/include/operator_/ne.hpp
@@ -0,0 +1,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);
+}
+PYTHONIC_NS_END
+
+#endif