Closed Neargye closed 4 years ago
I add tests soon.
Thanks @Neargye,
Please note that ring_span lite is modeled after proposal p0059 and models a non-owning queue, not an indexable span-like view. Hence a user-accessible operator[](ndx)
or at(ndx)
is not present.
So, unless the ideas in the proposal change in this respect, operator[](ndx)
or at(ndx)
should be offered as an extension via nsrs_RING_SPAN_LITE_EXTENSION
.
Generally I try to favour extensions as a way to enable collecting experience with them.
Remember to update the Readme
.
I have not forgotten anything? What is done:
nsrs_RING_SPAN_LITE_EXTENSION
Looks good to me, will merge, when Appveyor succeeds.
Thanks for the handy library!
It seems that it would be convenient to add the operator[] to access the elements. For example, std::span allows it.