Details
- Reviewers
Mordante - Group Reviewers
Restricted Project - Commits
- rGca7a041626cd: [libc++][spaceship] Implement `operator<=>` for `stack`
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
@Mordante Thank you for the review.
libcxx/include/stack | ||
---|---|---|
411 | c is a protected member of stack, which requires to declare the operator<=> as a friend similar to operator== and operator<. Such implementation compiles fine with Apple Clang 14.0.3 (LLVM 15) but it fails to compile on the CI with newer Clang 16/17 (I think) with myriad of ambiguous operator declarations errors all over the place. I did some research but all of this was over my head, so I settled on the above implementation. |
libcxx/include/stack | ||
---|---|---|
411 | I really would like to know what the issue with friends are. I tested with queue and it works for me. I will post more info on that patch. |
@Mordante Thank you for looking into this. I left a comment according to https://reviews.llvm.org/D146066 and I marked the comments as Done.
I'll rebase the patch later to get the CI green again.
I miss an update of SpaceshipProjects.csv