[all-commits] [llvm/llvm-project] d8f3cd: [libcxx] Implement three-way comparison for std::r...
Mikhail Maltsev via All-commits
all-commits at lists.llvm.org
Fri Nov 26 02:12:50 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d8f3cdfed03fe73c152d7fbf509f34f4b502f384
https://github.com/llvm/llvm-project/commit/d8f3cdfed03fe73c152d7fbf509f34f4b502f384
Author: Mikhail Maltsev <mikhail.maltsev at arm.com>
Date: 2021-11-26 (Fri, 26 Nov 2021)
Changed paths:
M libcxx/include/__iterator/reverse_iterator.h
A libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.cmp/three-way.pass.cpp
Log Message:
-----------
[libcxx] Implement three-way comparison for std::reverse_iterator
This patch implements operator<=> for std::reverse_iterator and
also adds a test that checks that three-way comparison of different
instantiations of std::reverse_iterator works as expected (related to
D113417).
Reviewed By: ldionne, Quuxplusone, #libc
Differential Revision: https://reviews.llvm.org/D113695
More information about the All-commits
mailing list