mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
02978910b0
I found that it leads to better looking code when the check of whether the range in question even has enough elements to skip is inside the helper. As such a separate type of skip entry point was introduced: one that allows to iterate over the container pairwise Now, instead of asserting, the loop just does nothing in cases like ```cpp for (const auto &Element : zip_pairs(make_empty_range()) do_stuff(); ```