8#include <unordered_map>
9#include <unordered_set>
11#include <userver/utils/algo.hpp>
12#include <userver/utils/str_icase.hpp>
14USERVER_NAMESPACE_BEGIN
21template <
typename Key,
typename Value>
23 return utils::AsContainer<std::unordered_map<Key, Value, utils::StrCaseHash>>(
28template <
typename Key,
typename Value>
30 return utils::AsContainer<std::unordered_map<Key, Value, utils::StrCaseHash>>(
35template <
typename Key,
typename Value>
37 return utils::AsContainer<
38 std::unordered_multimap<Key, Value, utils::StrCaseHash>>(map);
42template <
typename Key,
typename Value>
44 return utils::AsContainer<
45 std::unordered_multimap<Key, Value, utils::StrCaseHash>>(std::move(map));
49template <
typename Key>
51 return utils::AsContainer<std::unordered_set<Key, utils::StrCaseHash>>(map);
55template <
typename Key>
57 return utils::AsContainer<std::unordered_set<Key, utils::StrCaseHash>>(
62template <
typename Key>
64 return utils::AsContainer<std::unordered_multiset<Key, utils::StrCaseHash>>(
69template <
typename Key>
71 return utils::AsContainer<std::unordered_multiset<Key, utils::StrCaseHash>>(