#ifndef PYTHONIC_INCLUDE_BUILTIN_DICT_GET_HPP #define PYTHONIC_INCLUDE_BUILTIN_DICT_GET_HPP #include "pythonic/include/types/dict.hpp" #include "pythonic/include/types/NoneType.hpp" #include "pythonic/include/utils/functor.hpp" PYTHONIC_NS_BEGIN namespace builtins { namespace dict { template typename __combined::type get(types::dict const &d, W const &k, X const &default_); template types::none get(types::dict const &d, W const &k); template X get(types::empty_dict const &, W const &, X const &default_); // For typing only template typename __combined::type get(::dict_container, I, J); DEFINE_FUNCTOR(pythonic::builtins::dict, get); } } PYTHONIC_NS_END #endif