File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
libcxx/test/std/containers/sequences/vector.bool Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11
11
12
12
// XFAIL: FROZEN-CXX03-HEADERS-FIXME
13
13
14
- // This test ensures that ambiguous calls to std::max in vector<bool> is fixed .
15
- // Fix https://github.com/llvm/llvm-project/issues/121713
14
+ // This test ensures that the internal call to std::max within vector<bool> is not ambiguous under various size types .
15
+ // Related issue: https://github.com/llvm/llvm-project/issues/121713.
16
16
17
17
#include < cassert>
18
18
#include < cstddef>
26
26
#include " test_macros.h"
27
27
28
28
TEST_CONSTEXPR_CXX20 bool tests () {
29
- // The following tests are typical ways to trigger reallocations where `std::max` is used to calculate the capacity.
30
- // The purpose of these tests is to ensure that the ambiguous internal calls to `std::max` have been fixed.
31
29
{
32
30
using Alloc = sized_allocator<bool , std::uint8_t , std::int8_t >;
33
31
std::vector<bool , Alloc> c (Alloc (1 ));
You can’t perform that action at this time.
0 commit comments