On 20/08/20 19:54 +0100, Jonathan Wakely wrote:
This avoids overfow that occurs when negating the most negative value of
an integral type.
Also prevent returning signed int when the values have lower rank and
promote to int.
libstdc++-v3/ChangeLog:
* include/std/ranges (ranges::iota_vi
This avoids overfow that occurs when negating the most negative value of
an integral type.
Also prevent returning signed int when the values have lower rank and
promote to int.
libstdc++-v3/ChangeLog:
* include/std/ranges (ranges::iota_view::size()): Perform all
calculations in t