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

Compile-time pattern type checking #82

Open
3Hren opened this issue Jan 21, 2016 · 0 comments
Open

Compile-time pattern type checking #82

3Hren opened this issue Jan 21, 2016 · 0 comments

Comments

@3Hren
Copy link
Owner

3Hren commented Jan 21, 2016

Given:

  • logging pattern: "some message with {} placeholders and {:d} even {:.3f} more".
  • formatting arguments: ["some", 2, 3.1415]

Required:

  • check that sizeof...(Args) == placeholdersCount().
  • for every placeholder check type requirements.

Every invalid pattern should result in compile error.

@3Hren 3Hren added this to the v1.1 milestone Jan 21, 2016
@3Hren 3Hren modified the milestones: v1.3, v1.1 Aug 22, 2016
@3Hren 3Hren removed this from the v1.3 milestone Aug 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant