[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,93 @@
+//===----------------------------------------------------------------------===//
+//
+// 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(_InputIterator __first, _InputIterator __last);
+// void assign(_ForwardIterator __first, _ForwardIterator __last);
----------------
ldionne wrote:

```suggestion
// template <class InputIter>
// void assign(InputIter first, InputIter last);
```

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


More information about the libcxx-commits mailing list