[libcxx-commits] [libcxx] [libc++][NFC] Simplify copy and move lowering to memmove a bit (PR #83574)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Mar 19 22:29:17 PDT 2024
================
@@ -81,30 +81,17 @@ __copy_backward_trivial_impl(_In* __first, _In* __last, _Out* __result) {
// Iterator unwrapping and dispatching to the correct overload.
-template <class _F1, class _F2>
-struct __overload : _F1, _F2 {
- using _F1::operator();
- using _F2::operator();
-};
-
template <class _InIter, class _Sent, class _OutIter, class = void>
----------------
ldionne wrote:
Do we not need the sentinel type anymore? `_Sent` is unused.
https://github.com/llvm/llvm-project/pull/83574
More information about the libcxx-commits
mailing list