8sa1-gcc/libstdc++-v3/testsuite/25_algorithms/fill_n
Jonathan Wakely 22b6b5d6cf libstdc++: Make byte-sized std::fill_n a constant expression (PR 94933)
The overload for byte types uses memset and isn't constexpr. This adds
the specifier and uses std::is_constant_evaluated() to provide a
compile-time alternative.

	PR libstdc++/94933
	* include/bits/stl_algobase.h (__fill_a1): Make overload for byte types
	usable in constant expressions.
	* testsuite/25_algorithms/fill_n/constexpr.cc: Test with bytes and
	non-scalars.
2020-05-03 13:33:15 +01:00
..
debug
requirements/explicit_instantiation
1.cc
2.cc
25306.cc
35725.cc
87982_neg.cc
87982.cc
94017.cc
constexpr.cc
constrained.cc
dr426.cc