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] Should the *namespace-alias* std::views
be // freestanding
?
#5724
Comments
The root cause here seems to be that [freestanding.entity]/3 uses "entities":
where it should instead say "declarations and macro definitions":
As is fairly obvious from the following example that applies such a comment to a macro definition, which is not an entity. I think we need an LWG issue to normatively fix [freestanding.entity]/3. |
It's also necessary to clarify whether the paper's instructions to the editor that mention "every entity" actually meant "all declarations and macro definitions". |
That'd also help clarify #5713 (comment). As per the literal instructions, class members of |
@ben-craig: would you care to file an LWG issue for this? |
This will be LWG 3753. |
Thank you! I will close this editorial issue then, and see you in the next meeting's motions :-) |
Should this get a LWG label for consistency with issues with a CWG label being closed after a corresponding CWG issue is created? |
Since it's already closed, I really don't care, nor can I think of anyone who would. Do you? |
No, if there's no value to it. |
There are not handled by the LWG issue, though. |
Related comments: #5713 (comment) #5713 (comment)
https://wg21.link/p1642r11 defines
Notably, a freestanding entity is not an entity:
The paper has the following instructions:
The paper instructs to append
// freestanding
to entities in<ranges>
, which excludes the namespace-aliasstd::views
by definition.I commented:
Currently, by my fault, #5713 does append
// freestanding
tostd::views
, but that currently has no effects sincestd::views
is not an entity.The text was updated successfully, but these errors were encountered: