mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
This resolves LWG 4098, "views::adjacent<0> should reject non-forward ranges" which was approved in Sofia 2024. libstdc++-v3/ChangeLog: * include/std/ranges (_AdjacentTransform::operator()) (_Adjacent::operator()): Require forward_range for N == 0. * testsuite/std/ranges/adaptors/adjacent/1.cc: Test if input_ranges are rejected. * testsuite/std/ranges/adaptors/adjacent_transform/1.cc: Likewise. Reviewed-by: Jonathan Wakely <jwakely@redhat.com> Signed-off-by: Tomasz Kamiński <tkaminsk@redhat.com>
file: libstdc++-v3/README New users may wish to point their web browsers to the file index.html in the 'doc/html' subdirectory. It contains brief building instructions and notes on how to configure the library in interesting ways.