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

Explore scanning at compile-time #3

Closed
eliaskosunen opened this issue May 18, 2019 · 1 comment
Closed

Explore scanning at compile-time #3

eliaskosunen opened this issue May 18, 2019 · 1 comment

Comments

@eliaskosunen
Copy link
Owner

Perhaps CTRE-esque

int i;
scn::scan<"{}">(stream, i);

Or do we only limit ourselves to compile-time format string checking (fmt-esque):

int i;
scn::scan(stream, SCN_STRING("{}"), i);
@eliaskosunen
Copy link
Owner Author

Compile-time format string checking is available in v2. Compile-time scanning is out of scope.

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

1 participant