This is an archive of the discontinued LLVM Phabricator instance.

Fix broken SFINAE in std::__copy for trivially copyable types.
AbandonedPublic

Authored by dcheng on May 13 2022, 2:56 PM.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

With the broken SFINAE, std::copy will never use memmove, even for
trivially copyable types.

Diff Detail

Event Timeline

dcheng created this revision.May 13 2022, 2:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 13 2022, 2:56 PM
dcheng requested review of this revision.May 13 2022, 2:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 13 2022, 2:56 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
dcheng abandoned this revision.May 13 2022, 3:05 PM

D124328 fixes this and a few other things.