diff options
author | Abseil Team <absl-team@google.com> | 2021-06-03 14:05:41 -0700 |
---|---|---|
committer | Derek Mauro <dmauro@google.com> | 2021-06-03 17:21:06 -0400 |
commit | 17c954d90d5661e27db8fc5f086085690a8372d9 (patch) | |
tree | 93f5b42538e0612ee3700076fe6f4dbaa68b0bd1 /absl/container/internal/raw_hash_map.h | |
parent | ed53ad03abd7baf39dda2ac8037ff3d4f5c533e5 (diff) | |
download | abseil-17c954d90d5661e27db8fc5f086085690a8372d9.tar.gz abseil-17c954d90d5661e27db8fc5f086085690a8372d9.tar.bz2 abseil-17c954d90d5661e27db8fc5f086085690a8372d9.zip |
Export of internal Abseil changes
--
066144400e12616f6771e512427bcd98aa203455 by Abseil Team <absl-team@google.com>:
Internal comment cleanup.
PiperOrigin-RevId: 377368470
--
3ba56d263bd90a9797d12b5ce29edce3fa65917c by Abseil Team <absl-team@google.com>:
Add tests for hash table capacity being unchanged by insert.
PiperOrigin-RevId: 377303140
GitOrigin-RevId: 066144400e12616f6771e512427bcd98aa203455
Change-Id: I2edf14b412e45a2ad490dcf9f06e009c12a60e3e
Diffstat (limited to 'absl/container/internal/raw_hash_map.h')
-rw-r--r-- | absl/container/internal/raw_hash_map.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/absl/container/internal/raw_hash_map.h b/absl/container/internal/raw_hash_map.h index 0a02757d..c7df2efc 100644 --- a/absl/container/internal/raw_hash_map.h +++ b/absl/container/internal/raw_hash_map.h @@ -51,8 +51,9 @@ class raw_hash_map : public raw_hash_set<Policy, Hash, Eq, Alloc> { using key_arg = typename KeyArgImpl::template type<K, key_type>; static_assert(!std::is_reference<key_type>::value, ""); - // TODO(alkis): remove this assertion and verify that reference mapped_type is - // supported. + + // TODO(b/187807849): Evaluate whether to support reference mapped_type and + // remove this assertion if/when it is supported. static_assert(!std::is_reference<mapped_type>::value, ""); using iterator = typename raw_hash_map::raw_hash_set::iterator; |