Skip to content
Snippets Groups Projects
Verified Commit c94dfb84 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

C++20 modernization: use initialization within range-based for loop

In particular, use this feature in many loops which feature a special treatment
for the first iteration, using a boolean variable (replacing iterator
manipulation). By the way, also use std::exchange() to simultaneously test the
value of this variable and update it.
parent 9ace2dc4
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment