#ifndef PYTHONIC_OPERATOR_NOT_HPP #define PYTHONIC_OPERATOR_NOT_HPP #include "pythonic/include/operator_/not_.hpp" #include "pythonic/utils/functor.hpp" PYTHONIC_NS_BEGIN namespace operator_ { template auto not_(T &&a) -> decltype(!std::forward(a)) { return !std::forward(a); } template bool not_(std::complex const &a) { return !a.real() && !a.imag(); } } PYTHONIC_NS_END #endif