Title
Too many papers bump __cpp_lib_format
Status
c++23
Section
[version.syn]
Submitter
Barry Revzin

Created on 2022-08-04.00:00:00 last changed 5 months ago

Messages

Date: 2022-11-17.00:42:33

Proposed resolution:

  1. Modify [version.syn] as indicated:

    #define __cpp_lib_format          202207L // also in <format>
    #define __cpp_lib_format_ranges   202207L // also in <format>
    
    
Date: 2022-11-12.00:00:00

[ 2022-11-12 Approved at November 2022 meeting in Kona. Status changed: Voting → WP. ]

Date: 2022-08-15.00:00:00

[ 2022-08-23; Reflector poll ]

Set status to Tentatively Ready after 12 votes in favour during reflector poll.

Date: 2022-08-04.00:00:00

As pointed out by Casey Carter, four papers approved at the recent July 2022 plenary:

  • P2419R2 "Clarify handling of encodings in localized formatting of chrono types"

  • P2508R1 "Expose std::basic-format-string<charT, Args...>"

  • P2286R8 "Formatting Ranges"

  • P2585R1 "Improve container default formatting"

all bump the value of __cpp_lib_format. We never accounted for all of these papers being moved at the same time, and these papers have fairly different implementation complexities.

Victor Zverovich suggests that we instead add __cpp_lib_format_ranges (with value 202207L) for the two formatting ranges papers (P2286 and P2585, which should probably be implemented concurrently anyway, since the latter modifies the former) and bump __cpp_lib_format for the other two, which are both minor changes.

We should do that.

History
Date User Action Args
2023-11-22 15:47:43adminsetstatus: wp -> c++23
2022-11-17 00:42:33adminsetmessages: + msg13061
2022-11-17 00:42:33adminsetstatus: voting -> wp
2022-11-08 03:46:49adminsetstatus: ready -> voting
2022-08-23 15:24:34adminsetmessages: + msg12696
2022-08-23 15:24:34adminsetstatus: new -> ready
2022-08-07 11:01:45adminsetmessages: + msg12672
2022-08-04 00:00:00admincreate