Difference between revisions of "cpp/language"
From cppreference.com
< cpp
m (Link split.) |
m (Added (CTAD) acronym explicitly.) |
||
(6 intermediate revisions by one user not shown) | |||
Line 23: | Line 23: | ||
{{rl|as if|As-if rule}}<br> | {{rl|as if|As-if rule}}<br> | ||
{{rl|ub|Undefined behavior (UB)}}<br> | {{rl|ub|Undefined behavior (UB)}}<br> | ||
− | {{rl|memory model|Memory | + | {{rl|memory model|Memory}} – {{rl|multithread|Multithread}} {{mark c++11}}<br> |
{{rl|charset|Character sets and encodings}}<br> | {{rl|charset|Character sets and encodings}}<br> | ||
{{rl|translation phases|Phases of translation}}<br> | {{rl|translation phases|Phases of translation}}<br> | ||
Line 43: | Line 43: | ||
{{rlpt|preprocessor/impl|#pragma}}<br> | {{rlpt|preprocessor/impl|#pragma}}<br> | ||
{{rlpt|preprocessor/line|#line}} - | {{rlpt|preprocessor/line|#line}} - | ||
− | {{ | + | {{rlpt|preprocessor/error|#error}}<br> |
− | {{ | + | {{rlpt|preprocessor/error|#warning}} {{mark c++23}}<br> |
</div> | </div> | ||
Line 189: | Line 189: | ||
{{rl|variable template|Variable template}} {{mark c++14}}<br> | {{rl|variable template|Variable template}} {{mark c++14}}<br> | ||
{{rl|member template|Class member template}}<br> | {{rl|member template|Class member template}}<br> | ||
− | Template argument deduction<br> | + | '''Template argument deduction'''<br> |
{{nbsp|4}}{{rl|template argument deduction|function}} – | {{nbsp|4}}{{rl|template argument deduction|function}} – | ||
− | {{rl|class template argument deduction|class}} {{mark c++17}}<br> | + | {{rl|class template argument deduction|class (CTAD)}} {{mark c++17}}<br> |
{{rl|template specialization|Explicit specialization}} – {{rl|partial specialization|Partial specialization}}<br> | {{rl|template specialization|Explicit specialization}} – {{rl|partial specialization|Partial specialization}}<br> | ||
{{rl|parameter pack|Parameter packs}} {{mark c++11}}<br> | {{rl|parameter pack|Parameter packs}} {{mark c++11}}<br> | ||
Line 205: | Line 205: | ||
'''{{rl|exceptions|Exceptions}}''' | '''{{rl|exceptions|Exceptions}}''' | ||
<div class="mainpagediv"> | <div class="mainpagediv"> | ||
− | {{rl| | + | {{rl|try|{{tt|try}} block}}<br> |
− | {{rl| | + | {{rl|throw|Throwing exceptions}}<br> |
− | {{rl| | + | {{rl|catch|Handling exceptions}}<br> |
− | Exception specification<br> | + | '''Exception specification'''<br> |
{{nbsp|4}}{{rl|noexcept spec|{{tt|noexcept}} specification}} {{mark c++11}}<br> | {{nbsp|4}}{{rl|noexcept spec|{{tt|noexcept}} specification}} {{mark c++11}}<br> | ||
{{nbsp|4}}{{rl|except spec|Dynamic specification}} {{mark tooltip|until C++17|deprecated in C++11}}<br> | {{nbsp|4}}{{rl|except spec|Dynamic specification}} {{mark tooltip|until C++17|deprecated in C++11}}<br> |
Latest revision as of 11:11, 21 September 2024
This is a reference of the core C++ language constructs.
[edit] See also
C documentation for C language constructs
|