This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of New status.
error_code formattingSection: 17.3.2 [version.syn] Status: New Submitter: Jonathan Wakely Opened: 2026-07-17 Last modified: 2026-07-17
Priority: Not Prioritized
View other active issues in [version.syn].
View all other issues in [version.syn].
View all issues with New 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.
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>