[libcxx-commits] [libcxx] [libc++][test] Improve tests for assign in std::vector and vector<bool> (PR #119163)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Dec 13 06:39:09 PST 2024


================
@@ -0,0 +1,57 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// <vector>
+
+// void assign(size_type __n, const value_type& __x);
----------------
ldionne wrote:

```suggestion
// void assign(size_type n, const value_type& x);
```

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


More information about the libcxx-commits mailing list