Skip to content

Conversation

@hewillk
Copy link
Contributor

@hewillk hewillk commented Sep 6, 2025

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

@eisenwave
Copy link
Member

eisenwave commented Sep 9, 2025

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