This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use __builtin_memmove for trivially copy assignable types


On Sat, 16 Jun 2018 at 07:01, Glen Fernandes wrote:

> Use __builtin_memmove for trivially copy assignable types
>


I'll review the patch later, just a quick comment for now.

Every use of memcpy, memmove etc. makes it harder to make everything in
<algorithm> constexpr (as we're now required to do). But that's an existing
problem, and probably needs to be solved by teaching the built-ins to
expand inside constant expression evaluation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]