-
Notifications
You must be signed in to change notification settings - Fork 108
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
zstring_span and czstring_span #136
Comments
I might have simply missed the addition of I'd welcome a PR to add these, preferably including test cases (and entry in the table under Features). |
chan-lee
referenced
this issue
in chan-lee/gsl-lite
Apr 12, 2019
- zstring_span, wzstring_span, czstring_span, cwzstring_span added - tests are not added yet
martinmoene
referenced
this issue
Apr 12, 2019
- zstring_span, wzstring_span, czstring_span, cwzstring_span added - tests are not added yet
ToDo:
|
martinmoene
added a commit
that referenced
this issue
Apr 12, 2019
martinmoene
added a commit
that referenced
this issue
Apr 13, 2019
martinmoene
added a commit
that referenced
this issue
Apr 14, 2019
martinmoene
added a commit
that referenced
this issue
Apr 14, 2019
@cbeck88 Can this issue be closed? |
thank you! |
yes! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Microsoft GSL contains a special string span called
zstring_span
used to represent a string span known to have a null-terminator. This can be useful for interacting with legacy APIs, and avoiding use of raw pointers / calls to::strlen
except at API boundary.See "class basic_zstring_span
" and typedefs for
zstring_spanand
czstring_span`:https://github.com/Microsoft/GSL/blob/master/include/gsl/string_span#L389
It appears to me that
gsl-lite
doesn't have these types -- is that intentional or merely an oversight? Would you accept a patch to provide them?The text was updated successfully, but these errors were encountered: