gcc/libstdc++-v3/include/std
Jonathan Wakely a314edee24 libstdc++: Fix resolution of LWG 4016 for std::ranges::to [PR112876]
What I implemented in r14-6199-g45630fbcf7875b does not match what I
proposed for LWG 4016, and it imposes additional, unwanted requirements
on the emplace and insert member functions of the container being
populated.

libstdc++-v3/ChangeLog:

	PR libstdc++/112876
	* include/std/ranges (ranges::to): Do not try to use an iterator
	returned by the container's emplace or insert member functions.
	* testsuite/std/ranges/conv/1.cc (Cont4::emplace, Cont4::insert):
	Use the iterator parameter. Do not return an iterator.
2023-12-09 11:51:41 +00:00
..
algorithm libstdc++: Add freestanding feature test macros (P2407R5) 2023-11-21 15:58:21 +00:00
any libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
array libstdc++: Add freestanding feature test macros (P2407R5) 2023-11-21 15:58:21 +00:00
atomic libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
barrier libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
bit c++: mangle function template constraints 2023-12-01 16:08:25 -05:00
bitset libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
charconv libstdc++: Fix <charconv> uses of signed types with <bit> functions 2023-11-14 22:32:08 +00:00
chrono libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
codecvt Update copyright years. 2023-01-16 11:52:17 +01:00
complex libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
concepts libstdc++: Rename C++20 Customization Point Objects 2023-09-07 08:05:51 +01:00
condition_variable libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
coroutine libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
deque libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
execution libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
expected libstdc++: Add std::span::at for C++26 (P2821R5) 2023-11-21 15:58:21 +00:00
filesystem libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
format libstdc++: Fix misleading typedef name in <format> 2023-12-07 20:56:34 +00:00
forward_list libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
fstream libstdc++: Implement C++26 native handles for file streams (P1759R6) 2023-09-15 21:57:41 +01:00
functional libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
future libstdc++: Fix some -Wmismatched-tags warnings 2023-08-09 15:19:15 +01:00
iomanip libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
ios libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
iosfwd Update copyright years. 2023-01-16 11:52:17 +01:00
iostream libstdc++: Fix iostream init for Clang on darwin [PR110432] 2023-06-30 15:35:02 +01:00
istream libstdc++: Adjust feature test in <istream> and <ostream> 2023-11-16 08:00:36 +00:00
iterator libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
latch libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
limits libstdc++: Revert pre-C++23 support for 16-bit float types [PR111060] 2023-08-18 22:50:48 +01:00
list libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
locale Update copyright years. 2023-01-16 11:52:17 +01:00
map libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
memory libstdc++: Implement std::out_ptr and std::inout_ptr for C++23 [PR111667] 2023-11-16 08:10:26 +00:00
memory_resource libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
mutex libstdc++: Add [[nodiscard]] to lock types 2023-11-11 00:41:08 +00:00
numbers libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
numeric libstdc++: Define C++26 saturation arithmetic functions (P0543R3) 2023-11-17 15:28:30 +00:00
optional libstdc++: Add freestanding feature test macros (P2407R5) 2023-11-21 15:58:21 +00:00
ostream libstdc++: Adjust feature test in <istream> and <ostream> 2023-11-16 08:00:36 +00:00
queue libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
random libstdc++: Remove <random> dependency on _GLIBCXX_USE_C99_STDINT_TR1 2023-05-12 17:46:28 +01:00
ranges libstdc++: Fix resolution of LWG 4016 for std::ranges::to [PR112876] 2023-12-09 11:51:41 +00:00
ratio libstdc++: Implement new SI prefixes in <ratio> for C++23 (P2734R0) 2023-08-24 13:44:38 +01:00
regex libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
scoped_allocator libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
semaphore libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
set libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
shared_mutex libstdc++: Fix exception thrown by std::shared_lock::unlock() [PR112089] 2023-10-26 21:10:47 +01:00
source_location libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
span libstdc++: Add std::span::at for C++26 (P2821R5) 2023-11-21 15:58:21 +00:00
spanstream libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
sstream libstdc++: Define std::basic_stringbuf::view() for old std::string ABI 2023-02-02 16:57:27 +00:00
stack libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
stacktrace libstdc++: Fix aligned formatting of stacktrace_entry and thread::id [PR112564] 2023-11-16 17:20:00 +00:00
stdexcept Update copyright years. 2023-01-16 11:52:17 +01:00
stdfloat Update copyright years. 2023-01-16 11:52:17 +01:00
stop_token libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
streambuf Update copyright years. 2023-01-16 11:52:17 +01:00
string libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
string_view libstdc++: Add freestanding feature test macros (P2407R5) 2023-11-21 15:58:21 +00:00
syncstream libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
system_error libstdc++: Use strerror_r in std::generic_category()::message(int) [PR110133] 2023-11-04 08:31:45 +00:00
thread libstdc++: Fix aligned formatting of stacktrace_entry and thread::id [PR112564] 2023-11-16 17:20:00 +00:00
tuple libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
type_traits libstdc++: Replace all manual FTM definitions and use 2023-08-16 15:16:25 +02:00
typeindex Update copyright years. 2023-01-16 11:52:17 +01:00
unordered_map libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
unordered_set libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
utility libstdc++: Adjust std::in_range template parameter name 2023-11-17 14:46:46 +00:00
valarray libstdc++: Fix some -Wmismatched-tags warnings 2023-08-09 15:19:15 +01:00
variant c++: mangle function template constraints 2023-12-01 16:08:25 -05:00
vector libstdc++: Only declare feature test macros in standard headers 2023-11-16 08:10:19 +00:00
version libstdc++: Implement more maintainable <version> header 2023-08-16 15:16:25 +02:00