aboutsummaryrefslogtreecommitdiff
path: root/absl/container/flat_hash_set.h
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2022-01-19 11:04:50 -0800
committerdinord <dino.radakovich@gmail.com>2022-01-19 14:36:25 -0500
commitfbbb5865a562c9a9167d71c1cf56b82025a8f065 (patch)
tree212c8694bb6cf1d76af2b4aabac02c4910f6beab /absl/container/flat_hash_set.h
parent9bb42857112ad13b23de4333fbb75eb47db9de95 (diff)
downloadabseil-fbbb5865a562c9a9167d71c1cf56b82025a8f065.tar.gz
abseil-fbbb5865a562c9a9167d71c1cf56b82025a8f065.tar.bz2
abseil-fbbb5865a562c9a9167d71c1cf56b82025a8f065.zip
Export of internal Abseil changes
-- 487c7a754a3b93bc0f9de14bdced48007a96ae55 by Greg Falcon <gfalcon@google.com>: Add support for absl::Hash to hash unordered containers. These can now be hashed directly, as well as combined in AbslHashValue implementations. This also adds a new method, `H::combine_unordered()`, to the public AbslHashValue hash state API. This allows users to implement hash specializations for their own unordered collection types. A traits class, `H::is_hashable<T>`, is also added to the hash state API. H::is_hashable<T>::value reflects whether type T is considered hashable by the AbslHashValue framework. This allows users to properly SFINAE templated versions of AbslHashValue. (The AbslHashValue implementation added to raw_hash_set shows an example of its use.) PiperOrigin-RevId: 422856706 GitOrigin-RevId: 487c7a754a3b93bc0f9de14bdced48007a96ae55 Change-Id: Id31fd4ccba282f8c9ae6fcee6ae0ad0f7879f456
Diffstat (limited to 'absl/container/flat_hash_set.h')
0 files changed, 0 insertions, 0 deletions