userver: userver/utils/str_icase_containers.hpp Source File
Loading...
Searching...
No Matches
str_icase_containers.hpp
Go to the documentation of this file.
1#pragma once
2
7
8#include <unordered_map>
9#include <unordered_set>
10
13
14USERVER_NAMESPACE_BEGIN
15
16namespace utils {
17
21template <typename Key, typename Value>
22auto WithSafeHash(const std::unordered_map<Key, Value>& map) {
24}
25
27template <typename Key, typename Value>
28auto WithSafeHash(std::unordered_map<Key, Value>&& map) {
30}
31
33template <typename Key, typename Value>
34auto WithSafeHash(const std::unordered_multimap<Key, Value>& map) {
36}
37
39template <typename Key, typename Value>
40auto WithSafeHash(std::unordered_multimap<Key, Value>&& map) {
42}
43
45template <typename Key>
46auto WithSafeHash(const std::unordered_set<Key>& map) {
48}
49
51template <typename Key>
52auto WithSafeHash(std::unordered_set<Key>&& map) {
54}
55
57template <typename Key>
58auto WithSafeHash(const std::unordered_multiset<Key>& map) {
60}
61
63template <typename Key>
64auto WithSafeHash(std::unordered_multiset<Key>&& map) {
66}
67
68} // namespace utils
69
70USERVER_NAMESPACE_END