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