[libcxx-commits] [PATCH] D139235: Revert "Revert "[libc++][ranges]Refactor `copy{, _backward}` and `move{, _backward}`""
Konstantin Varlamov via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Dec 7 01:13:01 PST 2022
var-const added inline comments.
================
Comment at: libcxx/include/__algorithm/copy_move_common.h:51
+ // `memmove` doesn't accept `volatile` pointers, make sure the optimization SFINAEs away in that case.
+ !is_volatile<_In>::value &&
+ !is_volatile<_Out>::value &&
----------------
philnik wrote:
> Does this fix https://llvm.org/PR28901?
Hmm, I couldn't immediately see how that issue is related, could you please double-check the link? If the link is correct, then I'm missing some context, sorry.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139235/new/
https://reviews.llvm.org/D139235
More information about the libcxx-commits
mailing list