[libcxx-commits] [PATCH] D152615: [libc++][spaceship] P1614R2: Removed ops from `complex`

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jun 11 05:02:24 PDT 2023


Mordante accepted this revision.
Mordante added a comment.
This revision is now accepted and ready to land.

LGTM!



================
Comment at: libcxx/include/complex:153
+template<class T> bool operator==(const complex<T>&, const T&);               // constexpr in C++14
+template<class T> bool operator==(const T&, const complex<T>&);               // removed in C++20
+template<class T> bool operator!=(const complex<T>&, const complex<T>&);      // removed in C++20
----------------
H-G-Hristov wrote:
> Mordante wrote:
> > We keep all information.
> Thank you for letting me know, I haven't seen this before.
It's not that common, but we want to know that the difference in our implementation between versions is.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152615



More information about the libcxx-commits mailing list