Hi everybody,
I finally managed to write down a draft for a proposal:
https://pdigiglio.github.io/papers/tuple_protocol_for_c_style_arrays/draft0.htmlI'd really like to have a feedback from you.
I left a "Questions" section, which I'll remove in later versions, with
a remainder of things I couldn't figure out myself. I hope somebody here
can help me out with those. Basically, the questions are:
* volatile specializations for tuple_size and tuple_element have been
deprecated since C++20 (and they're not mentioned in N4910).
- Why were they deprecated?
- Removing them from the standard wouldn't be a breaking change?
- Should I propose specialization for volatile-qualified C-style
arrays? (My guess is: no).
* Why is fixed-extent std::span not tuple like? Should I reach for Tim
Song (author of P2116) to know the answer?
Thanks in advance.
Best,
Paolo