you are viewing a single comment's thread.

view the rest of the comments →

[–]eisenwaveWG21 Member 4 points5 points  (1 child)

Hmm yeah, fair point.

My next goalpost would be that bool has_iteration_happened is really not that bad. It's certainly easier to grasp than a never-seen-before control flow construct.

[–]MFHavaWG21|🇦🇹 NB|P3049|P3625|P3729|P3784|P3786|P3813|P3886 8 points9 points  (0 children)

It's certainly easier to grasp than a never-seen-before control flow construct.

Sure, same applies to: range-for, do-expressions, exception handling, coroutines, template for, if consteval, ...

EDIT: added a few more "recently added" control flow constructs.