Skip to content
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

[flat.{map,multiset,set}.modifiers] Harmonize description of insert(s, first, last) #6248

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Quuxplusone
Copy link
Contributor

If we can get away with the shorter wording in [flat.set.modifiers], we should also use it in [flat.map.modifiers]. Vice versa, the word "Linear" isn't terribly descriptive; let's take the more explicit wording for the Complexity element from [flat.map.modifiers].

The eliminated Remark element is accurate, but redundant, because insert(first, last) has the same Remark. Again this is just harmonizing [flat.map.modifiers] with the existing lack-of-Remark in [flat.set.modifiers].

…, first, last)

If we can get away with the shorter wording in [flat.set.modifiers],
we should also use it in [flat.map.modifiers]. Vice versa, the word
"Linear" isn't terribly descriptive; let's take the more explicit wording
for the Complexity element from [flat.map.modifiers].
@tkoeppe tkoeppe added this to the C++26 milestone May 8, 2023
@wg21bot wg21bot added the needs rebase The pull request needs a git rebase to resolve merge conflicts. label Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs rebase The pull request needs a git rebase to resolve merge conflicts.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants