]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Implement ranges::iota from P2440R1
authorPatrick Palka <ppalka@redhat.com>
Fri, 3 Feb 2023 15:52:15 +0000 (10:52 -0500)
committerPatrick Palka <ppalka@redhat.com>
Fri, 3 Feb 2023 15:52:15 +0000 (10:52 -0500)
commit28752bcbbfb2efa1b57db725d7a3e352eabcc336
tree8981ecf930add5bc6243de5911decda553dca98d
parent6716822c541bfd5e4bb91a39c0cb2c85b70f83de
libstdc++: Implement ranges::iota from P2440R1

libstdc++-v3/ChangeLog:

* include/bits/ranges_algo.h (out_value_result): Define.
(iota_result): Define.
(__iota_fn, iota): Define.
* testsuite/25_algorithms/iota/1.cc: New test.
libstdc++-v3/include/bits/ranges_algo.h
libstdc++-v3/testsuite/25_algorithms/iota/1.cc [new file with mode: 0644]