template <>
struct TransparentSupport
Defined at line 233 of file ../../third_party/protobuf/src/google/protobuf/map.h
We add transparent support for std::string keys. We use
absl::Hash
<absl
::string_view> as it supports the input types we care about.
The lookup functions accept arbitrary `K`. This will include any key type
that is convertible to absl::string_view.
Public Methods
template <typename T, typename = std::enable_if_t<
std::is_convertible<T, absl::string_view>::value>>
absl::string_view ImplicitConvertImpl (T && str, Rank2 )
Defined at line 241 of file ../../third_party/protobuf/src/google/protobuf/map.h
template <typename T, typename = std::enable_if_t<
std::is_convertible<T, const std::string&>::value>>
absl::string_view ImplicitConvertImpl (T && str, Rank1 )
Defined at line 247 of file ../../third_party/protobuf/src/google/protobuf/map.h
template <typename T>
absl::string_view ImplicitConvertImpl (T && str, Rank0 )
Defined at line 252 of file ../../third_party/protobuf/src/google/protobuf/map.h
template <typename T>
absl::string_view ImplicitConvert (T && str)
Defined at line 257 of file ../../third_party/protobuf/src/google/protobuf/map.h
template <typename T, typename U>
bool Equals (T && t, U && u)
Defined at line 272 of file ../../third_party/protobuf/src/google/protobuf/map.h
template <typename T>
ViewType ToView (const T & v)
Defined at line 282 of file ../../third_party/protobuf/src/google/protobuf/map.h