Skip to content

Conversation

@frederick-vs-ja
Copy link
Contributor

std::flat_set and std::flat_multiset have their operator<=>'s, so <compare> should be included in the corresponding header.

I'm not sure whether this can be treated as editorial, as the inclusion of <compare> is missing in P1222R4.

@jensmaurer jensmaurer added the not-editorial Issue is not deemed editorial; the editorial issue is kept open for tracking. label Aug 24, 2022
@jensmaurer
Copy link
Member

Let's have an LWG issue for visibility. @jwakely ?

@jwakely
Copy link
Member

jwakely commented Aug 24, 2022

I agree it's an obvious mistake in the paper forwarded by LWG, and the fix is obvious too, but as a normative change I think an LWG issue is the right solution.

@frederick-vs-ja frederick-vs-ja changed the title [flat.set.syn] <flat_set> should include <compare> [flat.set.syn] <flat_set> should include <compare> LWG3774 Sep 12, 2022
@frederick-vs-ja
Copy link
Contributor Author

Closing as reported as LWG3774.

@frederick-vs-ja frederick-vs-ja deleted the flat_set-includes-compare branch September 12, 2022 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

not-editorial Issue is not deemed editorial; the editorial issue is kept open for tracking.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants