aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/pythran/pythran/pythonic/include/builtins/dict/values.hpp
blob: d47d0aa144424e6a3eab1ba8c078f1300e257c6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef PYTHONIC_INCLUDE_BUILTIN_DICT_VALUES_HPP
#define PYTHONIC_INCLUDE_BUILTIN_DICT_VALUES_HPP

#include "pythonic/include/types/dict.hpp"
#include "pythonic/include/types/list.hpp"
#include "pythonic/include/utils/functor.hpp"

PYTHONIC_NS_BEGIN

namespace builtins
{

  namespace dict
  {
    template <class D>
    auto values(D &&d) -> decltype(std::forward<D>(d).values());

    DEFINE_FUNCTOR(pythonic::builtins::dict, values);
  } // namespace dict
} // namespace builtins
PYTHONIC_NS_END

#endif