Date
2022-08-04.00:00:00
Message id
12671

Content

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.