summaryrefslogtreecommitdiff
path: root/absl/hash/hash.h
diff options
context:
space:
mode:
authorGravatar Lawrence Wolf-Sonkin <lawrencews@google.com>2023-03-10 13:38:07 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2023-03-10 13:38:43 -0800
commitd8933b836b1e1aac982b1dd42cc6ac1343a878d5 (patch)
tree23297efdb682ee8d1d49164d0ee364bb0b1d0393 /absl/hash/hash.h
parented8428015f1d308b65350a800dab6817763c255a (diff)
[absl] Update documentation to reflect hash support for std::wstring, std::u16string and std::u32stringstrings
PiperOrigin-RevId: 515726337 Change-Id: I08e184ec1f7169835c034ac45a7e87293dc53078
Diffstat (limited to 'absl/hash/hash.h')
-rw-r--r--absl/hash/hash.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/absl/hash/hash.h b/absl/hash/hash.h
index 74e2d7c0..956befa9 100644
--- a/absl/hash/hash.h
+++ b/absl/hash/hash.h
@@ -110,9 +110,10 @@ ABSL_NAMESPACE_BEGIN
// * std::unique_ptr and std::shared_ptr
// * All string-like types including:
// * absl::Cord
-// * std::string
-// * std::string_view (as well as any instance of std::basic_string that
-// uses char and std::char_traits)
+// * std::string (as well as any instance of std::basic_string that
+// uses one of {char, wchar_t, char16_t, char32_t} and its associated
+// std::char_traits)
+// * std::string_view
// * All the standard sequence containers (provided the elements are hashable)
// * All the standard associative containers (provided the elements are
// hashable)