Skip to content
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

Reworked span to match GSL design. #215

Merged

Conversation

neilmacintosh
Copy link
Collaborator

Warning: breaking changes!

This commit makes a number of changes to span to make it match the current GSL design (which I will publish soon to the CppCoreGuidelines repository). It also addresses a number of annoyances about the existing implementation (not using narrow_cast where appropriate, for example). I also took this opportunity to run clang-format against span.h. Hopefully that makes it more consistent.

string_span' will be dealt with separately soon.strided_span` is likely to be removed in the near future but lives on for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants