Replies: 2 comments
-
Can you provide an example? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This would require changes like this:
becomes
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As sometimes we could have input_iterator with some sentinel value (e.g., istream_iterator + N chars which combined into counted_range via
std::ranges::views::counted()
or another). This also allows us to make a more generic codebase in spirit of modern C++ which also has updated some algorithms and range-based for for using Iterator+Sentinel pair.Beta Was this translation helpful? Give feedback.
All reactions