This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Tentatively Ready status.
error_code formattingSection: 17.3.2 [version.syn] Status: Tentatively Ready Submitter: Jonathan Wakely Opened: 2026-07-17 Last modified: 2026-09-10
Priority: Not Prioritized
View other active issues in [version.syn].
View all other issues in [version.syn].
View all issues with Tentatively Ready status.
Discussion:
P3395R6 added a std::formatter specialization for
error_code, but without a feature test macro.
During the review of the pull request to apply the paper to the working draft
there were requests for a feature test macro.
[2026-08-27; Reflector poll.]
Set status to Tentatively Ready after 9 votes in favour during reflector poll.
Proposed resolution:
This wording is relative to N5050.
Modify 17.3.2 [version.syn] as indicated:
#define __cpp_lib_format 202603L // also in <format> #define __cpp_lib_format_error_code 202606L // also in <system_error> #define __cpp_lib_format_path 202506L // also in <filesystem>