Date: Mon, 23 Oct 2023 09:23:20 -0400
On 10/23/23 5:18 AM, Frederick Virchanza Gotham via Std-Proposals wrote:
> What if the following:
>
> for ( usigned i = 0u; i < len; ++i ) *p++ = Get();
>
> Could be written as simply:
>
> for ( len ) *p++ = Get();
Why?
It is pretty rare that I need a (finite) loop and not need the loop
index in the loop body.
Tom.
> What if the following:
>
> for ( usigned i = 0u; i < len; ++i ) *p++ = Get();
>
> Could be written as simply:
>
> for ( len ) *p++ = Get();
Why?
It is pretty rare that I need a (finite) loop and not need the loop
index in the loop body.
Tom.
Received on 2023-10-23 13:23:23