[PATCH v3 3/4] libstdc++: Implement std::extents [PR107761].

2025-04-18 Thread Luc Grosheintz
This implements std::extents from according to N4950 and contains partial progress towards PR107761. If an extent changes its type, there's a precondition in the standard, that the value is representable in the target integer type. This precondition is not checked at runtime. The precondition fo

Re: [PATCH v3 3/4] libstdc++: Implement std::extents [PR107761].

2025-04-18 Thread Tomasz Kaminski
On Thu, Apr 17, 2025 at 3:00 PM Luc Grosheintz wrote: > Thank you for another excellent review! > On 4/17/25 1:44 PM, Tomasz Kaminski wrote: > > > > On Thu, Apr 17, 2025 at 1:18 PM Luc Grosheintz > wrote: > >> This implements std::extents from according to N4950 and >> contains partial progress

Re: [PATCH v3 3/4] libstdc++: Implement std::extents [PR107761].

2025-04-18 Thread Tomasz Kaminski
On Thu, Apr 17, 2025 at 6:07 PM Luc Grosheintz wrote: > > On 4/17/25 2:31 PM, Tomasz Kaminski wrote: > > > > On Thu, Apr 17, 2025 at 2:21 PM Tomasz Kaminski > wrote: > >> >> >> On Thu, Apr 17, 2025 at 1:44 PM Tomasz Kaminski >> wrote: >> >>> >>> >>> On Thu, Apr 17, 2025 at 1:18 PM Luc Grosheint

Re: [PATCH v3 3/4] libstdc++: Implement std::extents [PR107761].

2025-04-17 Thread Luc Grosheintz
On 4/17/25 2:31 PM, Tomasz Kaminski wrote: On Thu, Apr 17, 2025 at 2:21 PM Tomasz Kaminski wrote: On Thu, Apr 17, 2025 at 1:44 PM Tomasz Kaminski wrote: On Thu, Apr 17, 2025 at 1:18 PM Luc Grosheintz wrote: This implements std::extents from acco

Re: [PATCH v3 3/4] libstdc++: Implement std::extents [PR107761].

2025-04-17 Thread Luc Grosheintz
Thank you for another excellent review! On 4/17/25 1:44 PM, Tomasz Kaminski wrote: On Thu, Apr 17, 2025 at 1:18 PM Luc Grosheintz wrote: This implements std::extents from according to N4950 and contains partial progress towards PR107761. If an extent changes its type, there's

Re: [PATCH v3 3/4] libstdc++: Implement std::extents [PR107761].

2025-04-17 Thread Tomasz Kaminski
On Thu, Apr 17, 2025 at 1:44 PM Tomasz Kaminski wrote: > > > On Thu, Apr 17, 2025 at 1:18 PM Luc Grosheintz > wrote: > >> This implements std::extents from according to N4950 and >> contains partial progress towards PR107761. >> >> If an extent changes its type, there's a precondition in the st

Re: [PATCH v3 3/4] libstdc++: Implement std::extents [PR107761].

2025-04-17 Thread Tomasz Kaminski
On Thu, Apr 17, 2025 at 2:21 PM Tomasz Kaminski wrote: > > > On Thu, Apr 17, 2025 at 1:44 PM Tomasz Kaminski > wrote: > >> >> >> On Thu, Apr 17, 2025 at 1:18 PM Luc Grosheintz >> wrote: >> >>> This implements std::extents from according to N4950 and >>> contains partial progress towards PR1077

Re: [PATCH v3 3/4] libstdc++: Implement std::extents [PR107761].

2025-04-17 Thread Tomasz Kaminski
On Thu, Apr 17, 2025 at 1:18 PM Luc Grosheintz wrote: > This implements std::extents from according to N4950 and > contains partial progress towards PR107761. > > If an extent changes its type, there's a precondition in the standard, > that the value is representable in the target integer type.