Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4
# 3a3517c5 18-Nov-2024 Louis Dionne <ldionne.2@gmail.com>

[libc++] Improve the tests for vector::erase (#116265)

In particular, test everything with both a normal and a min_allocator,
add tests for a few corner cases and add tests with types that are
tri

[libc++] Improve the tests for vector::erase (#116265)

In particular, test everything with both a normal and a min_allocator,
add tests for a few corner cases and add tests with types that are
trivially relocatable. Also add tests that count the number of
assignments performed by vector::erase, since that is mandated by the
Standard.

This patch is a preparation for optimizing vector::erase.

show more ...