#ifndef PYTHONIC_INCLUDE_BUILTIN_LIST_APPEND_HPP #define PYTHONIC_INCLUDE_BUILTIN_LIST_APPEND_HPP #include "pythonic/include/types/list.hpp" #include "pythonic/include/types/NoneType.hpp" #include "pythonic/include/utils/functor.hpp" PYTHONIC_NS_BEGIN namespace builtins { namespace list { template types::none_type append(types::list &seq, F &&value); template types::none_type append(types::list &&seq, F &&value); template types::none_type append(types::empty_list &seq, F &&value); DEFINE_FUNCTOR(pythonic::builtins::list, append); } } PYTHONIC_NS_END #endif