Implement the bits that change <span> from using signed to unsigned.
Diff Detail
Event Timeline
LGTM, please consider my comments and commit without requiring another round of review. Thanks for doing this!
libcxx/include/span | ||
---|---|---|
22 | Did nobody discuss the fact that this is an ABI (and API) break? I know it's not an ABI break as far as the Standard is concerned (because the Standard hasn't shipped yet), but it is an ABI break for our implementation, no? Granted, folks that this will break are building with -std=c++2a, but I want to confirm we're doing this on purpose and we acknowledge what this change means. | |
201 | Would it be worth adding a reference to LWG3144? This way someone can remember to remove this once the DR is applied. | |
libcxx/test/std/containers/views/types.pass.cpp | ||
66 | std::size_t (only for consistency, obviously) | |
71 | std::size_t |
libcxx/include/span | ||
---|---|---|
22 | I don't think anyone cared (besides you and me) because libc++ is the only library vendor to have shipped a std::span implementation (and, as such has an ABI to break). My opinion is twofold:
| |
201 | I'll just remove them. Don't know why they re-appeared. |
Did nobody discuss the fact that this is an ABI (and API) break? I know it's not an ABI break as far as the Standard is concerned (because the Standard hasn't shipped yet), but it is an ABI break for our implementation, no?
Granted, folks that this will break are building with -std=c++2a, but I want to confirm we're doing this on purpose and we acknowledge what this change means.