Difference between revisions of "cpp/utility/feature test"
From cppreference.com
m (moved the table to Template:cpp/utility/feature test.) |
m (→See also: +link to freestanding stuff (?)) |
||
Line 14: | Line 14: | ||
{{dsc begin}} | {{dsc begin}} | ||
{{dsc|[[cpp/feature_test|'''Feature testing''']] {{mark c++20}}|A set of preprocessor macros to test the corresponding to C++ language and library features}} | {{dsc|[[cpp/feature_test|'''Feature testing''']] {{mark c++20}}|A set of preprocessor macros to test the corresponding to C++ language and library features}} | ||
+ | {{dsc see cpp|cpp/freestanding#Requirements on standard library headers|Headers required for a freestanding implementation|nomono=true}} | ||
{{dsc see cpp|cpp/preprocessor/replace#Predefined macros|Predefined Macro Symbols|nomono=true}} | {{dsc see cpp|cpp/preprocessor/replace#Predefined macros|Predefined Macro Symbols|nomono=true}} | ||
{{dsc end}} | {{dsc end}} | ||
{{langlinks|es|ja|ru|zh}} | {{langlinks|es|ja|ru|zh}} |
Latest revision as of 13:15, 22 July 2024
Each of following macros is defined if the header <version> or one of the corresponding headers specified in the table is included.
[edit] Notes
Each value in "Value" column follows the pattern: "yyyymmL", where "yyyy" is a year, and "mm" is a month when the corresponding feature-set was accepted for standardization. Some values where increased since the time of their introduction, if capabilities of given feature where extended. The table above contains only the most recent values (that is, taken from the latest C++ language draft standard). A full set of values, including the initial and intermediate ones, can be found in this table.
[edit] See also
Feature testing (C++20) | A set of preprocessor macros to test the corresponding to C++ language and library features |
C++ documentation for Headers required for a freestanding implementation
| |
C++ documentation for Predefined Macro Symbols
|