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>>(map);
27template <
typename Key,
typename Value>
29 return utils::AsContainer<std::unordered_map<Key, Value, utils::StrCaseHash>>(std::move(map));
33template <
typename Key,
typename Value>
35 return utils::AsContainer<std::unordered_multimap<Key, Value, utils::StrCaseHash>>(map);
39template <
typename Key,
typename Value>
41 return utils::AsContainer<std::unordered_multimap<Key, Value, utils::StrCaseHash>>(std::move(map));
45template <
typename Key>
47 return utils::AsContainer<std::unordered_set<Key, utils::StrCaseHash>>(map);
51template <
typename Key>
53 return utils::AsContainer<std::unordered_set<Key, utils::StrCaseHash>>(std::move(map));
57template <
typename Key>
59 return utils::AsContainer<std::unordered_multiset<Key, utils::StrCaseHash>>(map);
63template <
typename Key>
65 return utils::AsContainer<std::unordered_multiset<Key, utils::StrCaseHash>>(std::move(map));