[libcxx-commits] [PATCH] D131363: [libc++] Implement `operator<=>` for `error_category`

Kent Ross via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Aug 7 20:11:13 PDT 2022


mumbleskates added inline comments.


================
Comment at: libcxx/include/system_error:37
+    bool operator<(const error_category& rhs) const noexcept;               // removed in C++20
+    strong_ordering operator<=>(const error_category& rhs) const noexcept;  // C++20
 };
----------------
nit, per most-common pattern and personal preference


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131363



More information about the libcxx-commits mailing list