[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:10:31 PDT 2022
mumbleskates added inline comments.
================
Comment at: libcxx/include/system_error:227
+#if _LIBCPP_STD_VER <= 17
+
----------------
nit: Most checks of `_LIBCPP_STD_VER` are in terms of `>`, such that these blocks would be reversed, with C++20-onwards behavior gated behind `_LIBCPP_STD_VER > 17`. For consistency's sake I think it would be good to match that.
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