Chandler Carruth on Nostr: For C++ library folks -- should `const` on containers propagate to the elements in ...
For C++ library folks -- should `const` on containers propagate to the elements in the container? why? (or why not?)
And if "yes", why should `span` (or equivalent) not take the same path? Or should it?
(To be clear, I have lots of my own thoughts on all of these questions. I'm not asking because I'm unaware of any possible answers, but to see how others think about them.)
And if "yes", why should `span` (or equivalent) not take the same path? Or should it?
(To be clear, I have lots of my own thoughts on all of these questions. I'm not asking because I'm unaware of any possible answers, but to see how others think about them.)