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

Purpose of <span_ext> #1095

Closed
beinhaerter opened this issue Feb 18, 2023 · 0 comments
Closed

Purpose of <span_ext> #1095

beinhaerter opened this issue Feb 18, 2023 · 0 comments

Comments

@beinhaerter
Copy link
Contributor

While writing the documentation for GSL I saw that it is not clear to me what the exact purpose of <span_ext> is. It cannot be used alone, you must #include <span> first. But <span> already does #include <span_ext>. What is the intent of the separation into two files? Do we still need/want two files or should we merge <span_ext> into <span>?

dmitrykobets-msft added a commit that referenced this issue Feb 23, 2023
`<gsl/span>` is intended to mirror `<span>` in the STL. `<span_ext>` provides convenience features that aren't part of `<span>`.
Address #1095
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants