#ifndef PYTHONIC_OPERATOR_CONTAINS_HPP #define PYTHONIC_OPERATOR_CONTAINS_HPP #include "pythonic/include/operator_/contains.hpp" #include "pythonic/utils/functor.hpp" #include "pythonic/builtins/in.hpp" PYTHONIC_NS_BEGIN namespace operator_ { template auto contains(A &&a, B &&b) -> decltype(in(std::forward(a), std::forward(b))) { return in(std::forward(a), std::forward(b)); } } PYTHONIC_NS_END #endif