-
Notifications
You must be signed in to change notification settings - Fork 772
[range.chunk.outer.value] Add missing private specifier #5322
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
Conversation
Should we make that a class instead? |
Overall we seem to have a happy mix of class and struct, but |
And |
I think we have only one appearance each of "class outer-iterator" and "struct outer-iterator". Maybe we should make them all structs? |
It's not about the outer-iterator; it's about the nested type |
Yes,I know -- as I was saying, all |
I think the better overall approach is to make them all But the order-0 local consistency fix (for now) is to add the missing "private" here. |
Yes, that's another option. I'm don't have a strong preference, though I think it'd be useful to fix a style. The fact that the private members appear at the top is another localy style; elsewhere we have private expos-only members at the bottom (so the class key doesn't matter). I'm not sure it's worth mandating a stricter style for the ordering, though. |
It is also worth noting that |
I'd like to see if we can agree on a direction first. |
I think we had discussed the ordering of members (private first or public first) in passing at some point, and my general approach is to put private members last (except typedefs). That needs lots of changes in [ranges], so this is not for now. Note also the ongoing discussion in #4702 about styling exposition-only members. My personal preference for class vs. struct is that I still believe that, even absent general consistency, adding "private" here is progress in both correctness of the specification and local consistency, and that's the best we can hope for given the constrained resources we have. |
I recorded the issue in #5323. |
No description provided.