llvm-project/libcxx
Mark de Wever 8f4a6187f2 [libc++] Adds a test for std::fill_n.
The function `std::fill` requires a ForwardIterator, but `std::fill_n`
only requires an OutputIterator. Adds a test to validate `std::fill_n`
works with an OutputIterator.

Noticed this while working on LWG3539
format_to must not copy models of output_iterator<const charT&>

Reviewed By: #libc, Quuxplusone, ldionne

Differential Revision: https://reviews.llvm.org/D117395
2022-01-18 19:27:02 +01:00
..
benchmarks [libc++] [bench] Stop using uniform_int_distribution<char> in benchmarks. 2022-01-17 14:31:33 -05:00
cmake [libcxx][libcxxabi][libunwind][cmake] Use `GNUInstallDirs` to support custom installation dirs 2022-01-18 06:44:57 +00:00
docs [libc++] [API BREAK] Change `fs::path::iterator::iterator_category` to `input_iterator_tag`. 2022-01-17 16:33:23 -05:00
include [libc++] Split a few utilities out of __threading_support 2022-01-18 12:23:44 -05:00
lib Microsoft's floating-point to_chars powered by Ryu and Ryu Printf 2021-12-12 16:34:50 +01:00
src [libc++] Split a few utilities out of __threading_support 2022-01-18 12:23:44 -05:00
test [libc++] Adds a test for std::fill_n. 2022-01-18 19:27:02 +01:00
utils [libc++] Persistently cache memoized operations during Lit configuration 2022-01-18 10:44:23 -05:00
.clang-format [libc++] Update clang-format to C++20. 2021-10-30 12:50:57 +02:00
.clang-tidy [libc++][NFC] Disable clang-tidy checks 2021-12-06 01:51:23 +01:00
.gitignore
CMakeLists.txt [libcxx][libcxxabi][libunwind][cmake] Use `GNUInstallDirs` to support custom installation dirs 2022-01-18 06:44:57 +00:00
CREDITS.TXT Microsoft's floating-point to_chars powered by Ryu and Ryu Printf 2021-12-12 16:34:50 +01:00
LICENSE.TXT
TODO.TXT [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00
appveyor-reqs-install.cmd
appveyor.yml