[all-commits] [llvm/llvm-project] a79a6e: [libc++][regex] Uses operator<=> in sub_match.
Mark de Wever via All-commits
all-commits at lists.llvm.org
Sat Apr 22 03:40:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a79a6ea4a831facc564a36911d79d4472ad93cec
https://github.com/llvm/llvm-project/commit/a79a6ea4a831facc564a36911d79d4472ad93cec
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2023-04-22 (Sat, 22 Apr 2023)
Changed paths:
M libcxx/docs/Status/SpaceshipProjects.csv
M libcxx/include/regex
M libcxx/test/std/re/re.submatch/re.submatch.op/compare.pass.cpp
Log Message:
-----------
[libc++][regex] Uses operator<=> in sub_match.
The removal of operator!= in this header will be done in a separate
commit.
Note in the synopsis of P1614R2 there is a constexpr
template<class BiIter>
constexpr auto operator<=>(const sub_match<BiIter>& lhs, const sub_match<BiIter>& rhs);
In the implementation of P1614R2 there isn't a constexpr
template<class BiIter>
auto operator<=>(const sub_match<BiIter>& lhs, const sub_match<BiIter>& rhs);
There doesn't seem to be an LWG-issue, but it was fixed in the Standard
by removing the constexpr in b050fd474f11441942c88ef69b8622c8036656ac.
Implements part of:
- P1614R2 The Mothership has Landed
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D132310
More information about the All-commits
mailing list