C++ Logo

std-proposals

Advanced search

[std-proposals] for ( repeat_count )

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Mon, 23 Oct 2023 10:18:41 +0100
What if the following:

    for ( usigned i = 0u; i < len; ++i ) *p++ = Get();

Could be written as simply:

    for ( len ) *p++ = Get();

Received on 2023-10-23 09:18:53