-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add constructors for C-array, std::array<>, container ? #11
Comments
FWIW, I'd say "no"; let people use the two-iterator explicit constructor. Unless this is inspired by Ranges TS and would permit some interesting Ranges idiom that the two-iterator constructor doesn't? |
Hi Arthur, Thanks for your reaction. While issuing, I already felt some reluctance. It was simply inspired on |
Perhaps ...
|
Or perhaps assume initially empty buffer:
|
I am not that familiar with the API ... but if the last argument is the size of the view on the source, that is OK of course. There are numerous make_ring_span overloads one can imagine ... a project can add them gradually as it evolves or good contributors can add them to a (git) submodule ... called let's say 'makers'
I assume C++20 types are out of the question ... std::range as so on.. |
No description provided.
The text was updated successfully, but these errors were encountered: