This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++20 status.
Section: 17.3.1 [support.limits.general] Status: C++20 Submitter: Antony Polukhin Opened: 2019-08-14 Last modified: 2021-02-25
View all other issues in [support.limits.general].
View all issues with C++20 status.
Feature testing macro from P0202 "Add Constexpr Modifiers to Functions in <algorithm> and <utility> Headers" is missing in the WD.For user convenience and to reduce feature testing macro count it would be better to stick to initial version of P0202 that was providing only the __cpp_lib_constexpr_algorithms. So remove __cpp_lib_constexpr_swap_algorithms, define __cpp_lib_constexpr_algorithms to 201703L if P0202 is implemented, to 201806L if P0202+P0879 are implemented.
[2019-09-02 Issue Prioritization]
Status to Tentatively Ready and priority to 0 after five positive votes on the reflector.
This wording is relative to N4830.
Modify the Table 36 "Standard library feature-test macros" [tab:support.ft] in 17.3.1 [support.limits.general] as indicated:
Table 36: Standard library feature-test macros [tab:support.ft] Macro name Value Header(s) […] __cpp_lib_constexpr_ swap_algorithms 201806L <algorithm> […]