This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.

3808. Inconsistent feature test macros for ranges algorithms

Section: 17.3.2 [version.syn] Status: NAD Submitter: Daniel Marshall Opened: 2022-11-02 Last modified: 2022-11-12

Priority: Not Prioritized

View other active issues in [version.syn].

View all other issues in [version.syn].

View all issues with NAD status.

Discussion:

ranges::shift is seemingly the only ranges algorithm that incremented the value of an existing feature test macro.

From what I can tell the only other one that could have done that but didn't is __cpp_lib_starts_ends_with.

Should there have been a __cpp_lib_ranges_shift or should have __cpp_lib_starts_ends_with incremented its value when the ranges algorithms were added?

[Kona 2022-11-12 Status changed: New → NAD.]

Proposed resolution: