WG21 Operations Support
Switch to dark theme
Switch to light theme
Sign In
Overview
Papers
Updates
Discussion
Books
Community
Resources
Events
About
Standard
ISO C++ Standard
ISOCPP
ISOCPP.org
ISO
ISO.org
Switch to dark theme
Switch to light theme
Sign In
Mailings
›
July 2025
›
P3784R0
← P3781R0
|
P3785R0 →
P3784R0 — range-if
Michael Florian Hava
SG17
View on open-std.org
GitHub issue #2392
This paper proposes adding a ranged `if`-statement, branching based on the emptiness of the supplied range. If the range is non-empty it is equivalent to `range-for`, otherwise an optional `else` part is executed.
×
Sign in
Use your Google or GitHub account.
Google
GitHub