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
Editorial: Make names and synopses of unordered_* consistent with other containers #400
Comments
SGTM |
I'll wait for the motions to be merged, since this cleanup will affect some of them. |
Diff is visible here: https://github.com/cplusplus/draft/commit/3dd61428d27a091bd16d833598805f0a93bbb319.patch @jwakely Can I interest you in reviewing this? |
The first 18% of the patch looks perfect, but for the purposes of reviewing it, and also for the revision history ("what introduced this change?" "oh, it was that 3000 line patch that fixed loads of unrelated issues") I'd like it to be split into logically separate changes that I can review and merge piecemeal. |
…part of the cleanup changes only whitespace: inserted before commas, removed after namespace braces, improved indentation consistency, removed some extraneous linebreaks for things that fit well on one line
Offline discussion suggested that these changes better be split into several smaller PRs. Please consider the original diff obsolete, and I will send a number of new PRs. |
…part of the cleanup changes only whitespace: inserted before commas, removed after namespace braces, improved indentation consistency, removed some extraneous linebreaks for things that fit well on one line
…part of the cleanup changes only whitespace: inserted before commas, removed after namespace braces, improved indentation consistency, removed some extraneous linebreaks for things that fit well on one line
…ng of members, whitespace
…ng of members, whitespace
…of members, whitespace
…of members, whitespace
… of members, whitespace
Consistency cleanups in [containers] (cf. Issue #400): Ordering, whitespace
unordered_*
don't contain sections before comments like// modifiers
, whereas the other container synopses do.k
for key parameters, ordered associative containers usex
.hint
for the hint iterator, other containers useposition
.We should make this consistent.
Suggestion:
hint
for hints,position
for everything else. This requires changing the ordered containers.k
for the key, andobj
for a parameter for thevalue_type
or themapped_type
. This requires changing the ordered containers.If we agree with these changes, I can create a suitable pull request. Please let me know.
The text was updated successfully, but these errors were encountered: