Section: 22.214.171.124 [std.modules] Status: WP Submitter: Jiang An Opened: 2022-09-19 Last modified: 2022-11-15 15:43:02 UTC
Priority: Not Prioritized
View all issues with WP status.
Currently 126.96.36.199 [std.modules]/3 seemly requires that the std.compat module has to provide byte (via <cstddef>), beta (via <cmath>) etc. in the global namespace, which is defective to me as these components are C++-only, and doing so would increase the risk of conflict.I think we should only let std.compat provide the same set of global declarations as <xxx.h> headers.
[2022-10-12; Reflector poll]
Set status to Tentatively Ready after nine votes in favour during reflector poll.
[2022-11-12 Approved at November 2022 meeting in Kona. Status changed: Voting → WP.]
This wording is relative to N4917.
Modify 188.8.131.52 [std.modules] as indicated:
-3- The named module std.compat exports the same declarations as the named module std, and additionally exports declarations in the global namespace corresponding to the declarations in namespace std that are provided by the C++ headers for C library facilities (Table 26).