Title
The feature test macro for ranges::find_last should be renamed
Status
c++23
Section
[version.syn]
Submitter
Daniel Marshall

Created on 2022-11-02.00:00:00 last changed 13 months ago

Messages

Date: 2023-02-13.10:17:57

Proposed resolution:

This wording is relative to N4917.

  1. Modify [version.syn], header <version> synopsis, as indicated:

    […]
    #define __cpp_lib_filesystem              201703L // also in <filesystem>
    #define __cpp_lib_ranges_find_last        202207L // also in <algorithm>
    #define __cpp_lib_flat_map                202207L // also in <flat_map>
    […]
    
Date: 2023-02-13.00:00:00

[ 2023-02-13 Approved at February 2023 meeting in Issaquah. Status changed: Voting → WP. ]

Date: 2022-11-12.01:01:24

[ Kona 2022-11-12; Move to Ready ]

Date: 2022-11-02.00:00:00

The current feature test macro is __cpp_lib_find_last which is inconsistent with almost all other ranges algorithms which are in the form __cpp_lib_ranges_xxx.

Proposed resolution is to rename the macro to __cpp_lib_ranges_find_last.

History
Date User Action Args
2023-11-22 15:47:43adminsetstatus: wp -> c++23
2023-02-13 10:17:57adminsetmessages: + msg13358
2023-02-13 10:17:57adminsetstatus: voting -> wp
2023-02-06 15:33:48adminsetstatus: ready -> voting
2022-11-12 01:01:24adminsetmessages: + msg13031
2022-11-12 01:01:24adminsetstatus: new -> ready
2022-11-05 13:54:46adminsetmessages: + msg12925
2022-11-02 00:00:00admincreate