cplusplus / draft

C++ standards drafts
http://www.open-std.org/jtc1/sc22/wg21/
5.65k stars 744 forks source link

[diff.mods.to.declarations] Additions in <cmath> are not mentioned #5182

Open frederick-vs-ja opened 2 years ago

frederick-vs-ja commented 2 years ago

Some functions that are changed to overloads in C++ (in <cstring> and <cwchar>) and C++-only components added to <cstddef> are mentioned in [diff.mods.to.declarations]. But the additions (both overloaded functions and C++-only mathematical special functions) in <cmath> are not mentioned. Is this intended?

frederick-vs-ja commented 1 month ago

I've tried to mention additions in <cmath>, but it seems that the paragraph will need to be largely expanded when P3348 gets adopted.

@jwakely Should P3348 also modify [diff.mods.to.declarations]? (the 2024-08-02 revision didn't modify the section yet)