From 17c954d90d5661e27db8fc5f086085690a8372d9 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Thu, 3 Jun 2021 14:05:41 -0700 Subject: Export of internal Abseil changes -- 066144400e12616f6771e512427bcd98aa203455 by Abseil Team : Internal comment cleanup. PiperOrigin-RevId: 377368470 -- 3ba56d263bd90a9797d12b5ce29edce3fa65917c by Abseil Team : Add tests for hash table capacity being unchanged by insert. PiperOrigin-RevId: 377303140 GitOrigin-RevId: 066144400e12616f6771e512427bcd98aa203455 Change-Id: I2edf14b412e45a2ad490dcf9f06e009c12a60e3e --- absl/container/internal/raw_hash_map.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'absl/container/internal/raw_hash_map.h') 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 { using key_arg = typename KeyArgImpl::template type; static_assert(!std::is_reference::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::value, ""); using iterator = typename raw_hash_map::raw_hash_set::iterator; -- cgit v1.2.3