Skip to content

[flat.multiset.defn] Fix format#8215

Merged
jensmaurer merged 1 commit into
cplusplus:mainfrom
hewillk:main-flat.multiset.defn
Sep 9, 2025
Merged

[flat.multiset.defn] Fix format#8215
jensmaurer merged 1 commit into
cplusplus:mainfrom
hewillk:main-flat.multiset.defn

Conversation

@hewillk

@hewillk hewillk commented Sep 6, 2025

Copy link
Copy Markdown
Contributor

It's weird to put constexpr after the return type, and it's also inconsistent with other places.

@eisenwave

eisenwave commented Sep 9, 2025

Copy link
Copy Markdown
Member

Yeah, this is definitely an anomaly. I've already proposed an automatic check that would spot these things in #8085 ... or actually, nvm, it wouldn't have caught this one because it's a swap of return type and constexpr, but constxpr still comes after friend.

@jensmaurer jensmaurer merged commit e977097 into cplusplus:main Sep 9, 2025
2 checks passed
@hewillk hewillk deleted the main-flat.multiset.defn branch September 9, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants