[libcxx-commits] [PATCH] D130295: [libc++] Uses operator<=> in string_view
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Aug 4 09:57:21 PDT 2022
Mordante marked an inline comment as done.
Mordante added inline comments.
================
Comment at: libcxx/include/string_view:803
+ "return type is not a comparison category type");
+ return static_cast<typename _Traits::comparison_category >(__lhs.compare(__rhs) <=> 0);
+ } else {
----------------
philnik wrote:
>
Nice catch!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130295/new/
https://reviews.llvm.org/D130295
More information about the libcxx-commits
mailing list