Skip to content

Deprecate string_span - #931

Merged
Jordan Maples (JordanMaples) merged 5 commits into
microsoft:masterfrom
JordanMaples:deprecate-string_span
Oct 2, 2020
Merged

Jordan Maples (JordanMaples) merged 5 commits into
microsoft:masterfrom
JordanMaples:deprecate-string_span

Conversation

@JordanMaples

@JordanMaples Jordan Maples (JordanMaples) commented Oct 1, 2020

Copy link
Copy Markdown
Contributor

isocpp/CppCoreGuidelines#1680 removed string_span from the C++ Core Guidelines.
This change deprecates basic_string_span, basic_zstring_span, and all of their derived types.

Edit: as with multi_span and strided_span, string_span will remain deprecated in the GSL for a year before it is removed.

@JordanMaples

Copy link
Copy Markdown
Contributor Author

Travis-CI is clean: https://travis-ci.org/github/microsoft/GSL/builds/732083875
I'll have to investigate the infra issue after I return from my vacation

@JordanMaples
Jordan Maples (JordanMaples) merged commit bd23bdc into microsoft:master Oct 2, 2020
@JordanMaples Jordan Maples (JordanMaples) added this to the 2020Q4 milestone Oct 19, 2020
Dmitry Kobets (dmitrykobets-msft) added a commit that referenced this pull request Jun 28, 2023
With `string_span` having been deprecated (#931, #945) and removed (#1074), the header `<gsl/string_span>` now only contains the definitions for the `zstring` family. Update the name accordingly from `<gsl/string_span>` to `<gsl/zstring>`. The old header is now deprecated and should no longer be used and will be removed in some future release.
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

Successfully merging this pull request may close these issues.

1 participant