Skip to content

[unord.set.cnstr] Fix misnamed unordered_set constructor - #9379

Merged
jwakely merged 1 commit into
cplusplus:mainfrom
firmiana402:editorial/unordered-set-range-constructor
Nov 10, 2026
Merged

jwakely merged 1 commit into
cplusplus:mainfrom
firmiana402:editorial/unordered-set-range-constructor

Conversation

@firmiana402

Copy link
Copy Markdown
Contributor

In [unord.set.cnstr], the unordered_set constructor taking from_range_t as its first parameter is incorrectly named unordered_multiset.

Rename it to unordered_set, matching its declaration in [unord.set.overview] and the accompanying Effects paragraph.

The typo was introduced in 6d4a94f, which applied P1206R7.

@jensmaurer

Copy link
Copy Markdown
Member

@jwakely , this seems obvious, but is a change in normative text, so a second pair of eyes would be appreciated.

@eisenwave eisenwave added the P1-Important Misapplication of paper, malformed code, internal inconsistencies label Nov 10, 2026

@jwakely jwakely left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably just a copy&paste error. The normative text is inconsistent and nonsensical, and the fix is correct, so OK to fix editorially.

@jwakely
jwakely merged commit c72731a into cplusplus:main Nov 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P1-Important Misapplication of paper, malformed code, internal inconsistencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants