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]

Implement C++20 constexpr <algorithm>, , and <array>


Greetings,

This patch implements C++20 p0202 - Add Constexpr Modifiers to Functions in <algorithm> and <utility> Headers

and C++20 p1023 - constexpr comparison operators for std::array.


The patch is large because of the testsuite additions. Basically, the algorithms and the array comparison operators are all marked constexpr for C++20.  This has been built and tested on x86_64-linux.

OK?

Ed


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]