P1032R1 Miscellaneous constexpr
P1424R1 __cpp_lib_constexpr
WG21-P1902 "Missing Feature-Test Macros 2017-2019" further revised this, saying:
[P1032R1] (Misc constexpr bits): This paper originally added a single feature test macro, __cpp_lib_constexpr_misc, that was since renamed by [P1424R1] to __cpp_lib_constexpr. Per the policy laid out in this paper, this paper proposes to remove __cpp_lib_constexpr and instead add separate macros for each header: __cpp_lib_constexpr_functional, __cpp_lib_constexpr_iterator, __cpp_lib_constexpr_string_view, __cpp_lib_constexpr_tuple, and __cpp_lib_constexpr_utility and to bump __cpp_lib_array_constexpr.
Feature-test macros as of WG21-N4842:
#define __cpp_lib_constexpr_iterator 201811L
#define __cpp_lib_constexpr_string_view 201811L
#define __cpp_lib_constexpr_tuple 201811L
#define __cpp_lib_constexpr_utility 201811L
The following added value is unusual (it was further increased for #51 WG21-P1065 "constexpr INVOKE" to 201907L, see SD-6):
#define __cpp_lib_constexpr_functional 201811L
The following increased value is unusual (it was originally increased for #49 WG21-P1023 "constexpr For std::array Comparisons" to 201806L, see SD-6):
#define __cpp_lib_array_constexpr 201811L
P1032R1 Miscellaneous
constexprP1424R1__cpp_lib_constexprWG21-P1902 "Missing Feature-Test Macros 2017-2019" further revised this, saying:
Feature-test macros as of WG21-N4842:
The following added value is unusual (it was further increased for #51 WG21-P1065 "
constexprINVOKE" to201907L, see SD-6):#define __cpp_lib_constexpr_functional 201811LThe following increased value is unusual (it was originally increased for #49 WG21-P1023 "
constexprForstd::arrayComparisons" to201806L, see SD-6):#define __cpp_lib_array_constexpr 201811L