diff --git a/stl/inc/xutility b/stl/inc/xutility index b52cd42812..155cc7eaad 100644 --- a/stl/inc/xutility +++ b/stl/inc/xutility @@ -3342,7 +3342,8 @@ namespace ranges { // [[no_unique_address]] conditional_t<_Store_size, _Size_type, _Nil> _Size{}; template - constexpr subrange(true_type, _Rng&& _Val) : subrange(_STD forward<_Rng>(_Val), _RANGES size(_Val)) { + constexpr subrange(true_type, _Rng&& _Val) + : subrange(_STD forward<_Rng>(_Val), static_cast<_Size_type>(_RANGES size(_Val))) { // delegation target for subrange(_Rng&&) when we must store the range size _STL_INTERNAL_STATIC_ASSERT(_Store_size); } diff --git a/stl/inc/yvals_core.h b/stl/inc/yvals_core.h index e8e26e853f..fbf6b6bba1 100644 --- a/stl/inc/yvals_core.h +++ b/stl/inc/yvals_core.h @@ -224,7 +224,6 @@ // P1456R1 Move-Only Views // P1474R1 Helpful Pointers For contiguous_iterator // P1522R1 Iterator Difference Type And Integer Overflow -// (technically conforming, but it would be nice to implement a 65-bit integer-like type) // P1523R1 Views And Size Types // P1612R1 Relocating endian To // P1614R2 Adding Spaceship <=> To The Library @@ -266,6 +265,7 @@ // P2328R1 join_view Should Join All views Of ranges // P2367R0 Remove Misuses Of List-Initialization From Clause 24 Ranges // P2372R3 Fixing Locale Handling In chrono Formatters +// P2393R1 Cleaning Up Integer-Class Types // P2415R2 What Is A view? // P2418R2 Add Support For std::generator-like Types To std::format // P2432R1 Fix istream_view