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: Implement C++20 constexpr <algorithm>, , and <array>


Greetings,

This patch implements C++20 constexpr for <algorithm>, <uility>, <array>.

It's a large patch but only affects C++20 and the volume is mostly test cases.

This differs from the previous patch in actually testing constexpr :-\ and in the addition of wrappers for __builtin_memmove and __builtin_memcmp that supply constexpr branches if C++20 and is_constant_evaluated().

This builds and tests clean on x86_64-linux.

OK?


Attachment: CL_constexpr_lib
Description: Text document

Attachment: patch_constexpr_lib.bz2
Description: application/bzip


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