userver: /data/code/userver/libraries/proto-structs/include/userver/proto-structs/hash_map.hpp File Reference
Loading...
Searching...
No Matches
hash_map.hpp File Reference

Detailed Description

The hash map container used in userver proto structs by default.

Definition in file hash_map.hpp.

Go to the source code of this file.

#include <string_view>
#include <type_traits>
#include <unordered_map>
#include <userver/utils/str_icase.hpp>
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  proto_structs
 Top namespace for the proto-structs library.
 

Typedefs

template<typename Key , typename Value >
using proto_structs::HashMap = std::unordered_map< Key, Value, std::conditional_t< std::is_convertible_v< Key, std::string_view >, utils::StrCaseHash, std::hash< Key > > >
 The hash map container used in userver proto structs by default.