You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are multiple functions that accept a pair of iterators to denote a range, which could be refactored to accept a range (or a view). This could help raise the abstraction level a bit and make the code more readable.
could be replaced with a single one based on a view. Even the somewhat artificial code that wraps an element in a single-item-array could be replaced with a single-element-view (std::ranges::views::single).
The text was updated successfully, but these errors were encountered:
I'm all for it: that is something I've had in mind since I first heard about ranges before they even were part of the standard! Never got around to doing it. @kkarbowiak do you want to give this a go?
I'm all for it: that is something I've had in mind since I first heard about ranges before they even were part of the standard! Never got around to doing it. @kkarbowiak do you want to give this a go?
There are multiple functions that accept a pair of iterators to denote a range, which could be refactored to accept a range (or a view). This could help raise the abstraction level a bit and make the code more readable.
In particular, is seems the following overloads
vroom/src/structures/vroom/tw_route.cpp
Lines 1477 to 1504 in 176f57a
could be replaced with a single one based on a view. Even the somewhat artificial code that wraps an element in a single-item-array could be replaced with a single-element-view (
std::ranges::views::single
).The text was updated successfully, but these errors were encountered: