Namespaces
Variants
Views
Actions

Difference between revisions of "Talk:cpp/feature test"

From cppreference.com
(vote)
m (r: WIP)
Line 11: Line 11:
 
:: {{tt|or_else}}.) --[[User:Space Mission|Space Mission]] ([[User talk:Space Mission|talk]]) 16:40, 5 December 2022 (PST)
 
:: {{tt|or_else}}.) --[[User:Space Mission|Space Mission]] ([[User talk:Space Mission|talk]]) 16:40, 5 December 2022 (PST)
 
::: I'm indifferent, but if I had to vote, I would go with the former --[[User:Ybab321|Ybab321]] ([[User talk:Ybab321|talk]]) 10:00, 6 December 2022 (PST)
 
::: I'm indifferent, but if I had to vote, I would go with the former --[[User:Ybab321|Ybab321]] ([[User talk:Ybab321|talk]]) 10:00, 6 December 2022 (PST)
 +
:::: Yes, and it is slightly easier to add {{ttb|stddoc}} to the end of a table's string. So, WIP.) --[[User:Space Mission|Space Mission]] ([[User talk:Space Mission|talk]]) 10:58, 6 December 2022 (PST)

Revision as of 10:58, 6 December 2022

Could it be possible to link to the individual papers that introduced or bumped a given feature-test macro? Right now there's this page, which has the macros and the values (but not the papers), or pages like https://en.cppreference.com/w/cpp/compiler_support/23 which have the paper but not the macros.

Sounds like a good idea, but good lord would that be a lot of work --Ybab321 (talk) 12:21, 5 December 2022 (PST)
I hope this is quite doable. In fact, it is a bit surprising that that was not done from the very beginning. A good starting point could be this page (and SD-6), — replicate that data in these tables.
We should decide the position of Paper(s) column:
1) | Macro name | Feature | Value | Header | Std | Paper(s) | (i.e. at the end)
or
2) | Macro name | Paper(s) | Feature | Value | Header | Std | (i.e. second column)
or_else.) --Space Mission (talk) 16:40, 5 December 2022 (PST)
I'm indifferent, but if I had to vote, I would go with the former --Ybab321 (talk) 10:00, 6 December 2022 (PST)
Yes, and it is slightly easier to add stddoc to the end of a table's string. So, WIP.) --Space Mission (talk) 10:58, 6 December 2022 (PST)