#ifndef PYTHONIC_INCLUDE_OPERATOR_XOR_HPP #define PYTHONIC_INCLUDE_OPERATOR_XOR_HPP #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/operator_/overloads.hpp" PYTHONIC_NS_BEGIN namespace operator_ { template auto xor_(A &&a, B &&b) -> decltype(std::forward(a) ^ std::forward(b)); DEFINE_ALL_OPERATOR_OVERLOADS_DECL(xor_, ^) DEFINE_FUNCTOR(pythonic::operator_, xor_); } PYTHONIC_NS_END #endif