#ifndef PYTHONIC_INCLUDE_BUILTIN_LEN_HPP #define PYTHONIC_INCLUDE_BUILTIN_LEN_HPP #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/utils/yield.hpp" #include #include PYTHONIC_NS_BEGIN namespace builtins { template long len(std::tuple const &); template typename std::enable_if::value, long>::type len(T const &t); DEFINE_FUNCTOR(pythonic::builtins, len); } PYTHONIC_NS_END #endif