diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-06-23 12:18:11 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-06-26 17:43:22 +0100 |
commit | 6eafdfc73c21d7a5e59e18c9dee275af5bf6d979 (patch) | |
tree | 5bb575f5e95bd5be4da9309de4dd07d4d5d8cdd5 /libjava/java/io/OutputStream.h | |
parent | fa98bc4270dcb4ec78b5b1c0f4c067094c84bae6 (diff) | |
download | gcc-6eafdfc73c21d7a5e59e18c9dee275af5bf6d979.zip gcc-6eafdfc73c21d7a5e59e18c9dee275af5bf6d979.tar.gz gcc-6eafdfc73c21d7a5e59e18c9dee275af5bf6d979.tar.bz2 |
libstdc++: Implement P2538R1 ADL-proof std::projected
This was recently approved for C++26, but there's no harm in
implementing it unconditionally for C++20 and C++23. As it says in the
paper, it doesn't change the meaning of any valid code. It only enables
things that were previously ill-formed for questionable reasons.
libstdc++-v3/ChangeLog:
* include/bits/iterator_concepts.h (projected): Replace class
template with alias template denoting an ADL-proofed helper.
(incremental_traits<projected<Iter, Proj>>): Remove.
* testsuite/24_iterators/indirect_callable/projected-adl.cc:
New test.
Diffstat (limited to 'libjava/java/io/OutputStream.h')
0 files changed, 0 insertions, 0 deletions