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
[ranges.syn] Make get overloads freestanding #5839
Conversation
Does the using-declaration to add it to |
This relates to #5724 (comment). The using-declaration is a declaration, which can be a freestanding entity, but the literal instructions was to mark entities and not declarations and macros definitions. |
But https://cplusplus.github.io/LWG/issue3753 changes that. |
It fixes the definition But does not
|
The same #5396 which moved |
The intention of the paper is pretty obvious, even if the wording was imprecise. Let's not insist on inferior outcomes because of that imprecision. Expect NB comments to ensure everything is freestanding. My question is not "did the precise wording in P1642R11 say to mark this using-declaration freestanding", it's whether it needs to be or not. I think it does need to be. |
Then yes is the answer I expect it to be. |
Those variables are objects, no? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before this gets out of control: This looks good.
@jwakely , feel free to mark the using-declarations as freestanding, too.
These were moved to the synopsis after the P1642 changes to mark nearly everything in the synopsis freestanding, so they were not marked.
Done. |
These were moved to the synopsis after the P1642 changes to mark nearly everything in the synopsis freestanding, so they were not marked.
Fixes #5837