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

gsl::zstring vs gsl::zstring<> #1126

Open
grische opened this issue Jan 4, 2018 · 2 comments
Open

gsl::zstring vs gsl::zstring<> #1126

grische opened this issue Jan 4, 2018 · 2 comments
Assignees

Comments

@grische
Copy link

grische commented Jan 4, 2018

Hallo,
I am rather new here and while reading through the first pages, I got really confused when I tried using the zstring you keep on mentioning.
It took me a while that gsl::zstring is actually not a valid type with GSL, but gsl::zstring<> is: microsoft/GSL#249

Is the usage of zstring instead of zstring<> intentional? Am I missing here something?

@AndrewPardoe
Copy link
Contributor

Thank you! Note that this will be a breaking change if we rename this, but it's not standardized yet.

@neilmacintosh
Copy link
Contributor

@grische I recognize that many people (including myself) find this syntax confusing and annoying. We're looking at the right way to remove the need for it without losing the ability to have fixed-length zstring objects. Changing this will break some users so we'd like to do so thoughtfully.

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

3 participants