diff --git a/test/unordered/transparent_tests.cpp b/test/unordered/transparent_tests.cpp index 959ca49f..f4173d84 100644 --- a/test/unordered/transparent_tests.cpp +++ b/test/unordered/transparent_tests.cpp @@ -165,6 +165,9 @@ template void test_transparent_find() int const expected_key_count = 2 * n; BOOST_TEST(key::count_ == expected_key_count); + // explicitly test `find()` and `find() const` separately + // + { UnorderedMap& m = map; @@ -225,6 +228,9 @@ template void test_non_transparent_find() BOOST_TEST(key::count_ == key_count); + // explicitly test `find()` and `find() const` separately + // + { UnorderedMap& m = map;