accessing tuple elements using C++ 20 views #1141
juandent
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
yes it looks nice and as I see requires nothing to write to support this. The only thing I can't understand is why we need the word void print(std::ranges::input_range auto&& coll) ? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
An interesting capability for dealing with tuples is now available in C++ 20 (part of the support for views), like this:
Nice ah?
Beta Was this translation helpful? Give feedback.
All reactions