[libcxx-commits] [PATCH] D146066: [libc++][spaceship] Implement `operator<=>` for `queue`

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jun 4 03:37:28 PDT 2023


Mordante added a comment.

As mentioned in D146094 <https://reviews.llvm.org/D146094> these are the changes I applied locally to make friendship work. Can you test this too. If the CI fails please ping me on Discord then I will have another look.



================
Comment at: libcxx/include/queue:401
     operator< (const queue<_T1, _C1>& __x,const queue<_T1, _C1>& __y);
 };
 
----------------



================
Comment at: libcxx/include/queue:486
+operator<=>(const queue<_Tp, _Container>& __x, const queue<_Tp, _Container>& __y) {
+    return __x.__get_container() <=> __y.__get_container();
+}
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146066/new/

https://reviews.llvm.org/D146066



More information about the libcxx-commits mailing list