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

[time.duration.io] Requires: element should be a Remarks: #2208

Closed
JohelEGP opened this issue Jun 22, 2018 · 2 comments
Closed

[time.duration.io] Requires: element should be a Remarks: #2208

JohelEGP opened this issue Jun 22, 2018 · 2 comments

Comments

@JohelEGP
Copy link
Contributor

JohelEGP commented Jun 22, 2018

Everything in http://eel.is/c++draft/time.duration.io#1 can be detected at compile time, so it seems to be a misuse that should new be clear that should use a Remarks: element coupled with the shall not participate in overload resolution wording. Do you think this can be done editorially?

A better solution would be to permit all integral types. I assume this element exists to prevent a duration with a char-like Rep from being printed as a character. Such a change would probably require a paper and not a DR.

@jwakely
Copy link
Member

jwakely commented Jun 22, 2018

This is definitely not editorial.

@JohelEGP
Copy link
Contributor Author

Thank you. I'll submit a DR.

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

2 participants