[libcxx-commits] [PATCH] D129233: [libc++][ranges] implement `std::ranges::set_intersection`
Konstantin Varlamov via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jul 8 14:08:51 PDT 2022
var-const accepted this revision.
var-const added a comment.
This revision is now accepted and ready to land.
Thanks for addressing the feedback!
================
Comment at: libcxx/include/__algorithm/set_intersection.h:69
+ typedef typename __comp_ref_type<_Compare>::type _Comp_ref;
+ return std::__set_intersection<_StdIterOps, _Comp_ref>(__first1, __last1, __first2, __last2, __result, __comp).out;
}
----------------
Nit: move the iterators?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129233/new/
https://reviews.llvm.org/D129233
More information about the libcxx-commits
mailing list