[libcxx-commits] [libcxx] [libc++][test] Add exception tests for vector capacity operations (PR #118141)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 19 08:45:44 PST 2024


================
@@ -125,4 +220,39 @@ inline void check_new_delete_called() {
   assert(globalMemCounter.aligned_new_array_called == globalMemCounter.aligned_delete_array_called);
 }
 
+class Rnd {
----------------
ldionne wrote:

Let's move the functions outside of the class since this isn't related to randomness anymore.

https://github.com/llvm/llvm-project/pull/118141


More information about the libcxx-commits mailing list