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.syn] Unclear namespace prefix for literal operators #3328
Comments
The |
std::filesystem is way older than std::chrono, yet we still don't describe the "leave off namespaces" presentation form properly. |
Let's start over: The user-defined literals in |
I apparently overlooked a closing brace from a previous "namespace chrono {". So, I agree we need the "chrono::" qualification on the return type for the literal operators. Thanks for looking into this. |
Why do the literal operators (such as operator ""s) shown in the header synopsis have a qualified-id as the return type?
Ordinary unqualified lookup would/should find std::chrono::month from a subnamespace of std::chrono, too, I thought.
This relates to consistency issues in the itemdecls of operator""y and operator""d, raised by
JP338 cplusplus/nbballot#334 and JP 343 cplusplus/nbballot#339.
The text was updated successfully, but these errors were encountered: