mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
Calling views::indices(n) should be expression equivalent to views::iota(decltype(n)(0), n), which means it should have the same constraints as views::iota and be SFINAE-friendly. libstdc++-v3/ChangeLog: * include/std/ranges (indices::operator()): Constrain using __can_iota_view concept. * testsuite/std/ranges/indices/1.cc: Check SFINAE-friendliness required by expression equivalence. Replace unused <vector> header with <stddef.h> needed for size_t.
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.