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