틀:mark prot mem class
cppreference.com
(protected member class)
Creates an annotation.
- General
{{mark|text |class=classes (optional)}} - creates an annotation containing the given text, extra classes can be provided for styling.
- Example:
{{mark|text}}results in (text).
{{mark rev|text |class=classes (optional)}} - creates an annotation containing the given text, extra classes can be provided for styling.
- Example:
{{mark rev|since C++1998}}results in (since C++1998).
{{mark tooltip|text |tooltip |class=classes (optional)}} - creates an annotation containing the given text with tooltip, extra classes can be provided for styling.
- Example:
{{mark tooltip|99% complete|XXX not supported}}results in (99% complete*).
- Miscellaneous
| Template | Annotation |
|---|---|
| {{mark attribute}} | (attribute specifier) |
| {{mark deprecated}} | (deprecated) |
| {{mark optional}} | (optional) |
| {{mark implicit}} | (implicitly declared) |
| {{mark concept}} | (concept) |
| {{mark expos}} | (exposition only*) |
| {{mark expos concept}} | (exposition-only concept) |
| {{mark expos mem type}} | (exposition-only member type*) |
| {{mark named req}} | (named requirement) |
| {{mark typedef}} | (typedef) |
| {{mark type alias}} | (type alias) |
| {{mark enum}} | (enum) |
| {{mark keyword}} | (keyword) |
| {{mark macro keyword}} | (keyword macro) |
| {{mark preprocessing directive}} | (preprocessing directive) |
| {{mark macro opr}} | (operator macro) |
| {{mark language}} | (language) |
- C++ Standards
| Template | Annotation |
|---|---|
| {{mark deprecated c++98}} | (deprecated in C++98) |
| {{mark c++03}} | (C++03) |
| {{mark since c++03}} | (since C++03) |
| {{mark until c++03}} | (until C++03) |
| {{mark c++11}} | (C++11) |
| {{mark since c++11}} | (since C++11) |
| {{mark constexpr since c++11}} | (constexpr since C++11) |
| {{mark deprecated c++11}} | (deprecated in C++11) |
| {{mark until c++11}} | (until C++11) |
| {{mark c++14}} | (C++14) |
| {{mark since c++14}} | (since C++14) |
| {{mark constexpr since c++14}} | (constexpr since C++14) |
| {{mark deprecated c++14}} | (deprecated in C++14) |
| {{mark until c++14}} | (until C++14) |
| {{mark c++17}} | (C++17) |
| {{mark since c++17}} | (since C++17) |
| {{mark constexpr since c++17}} | (constexpr since C++17) |
| {{mark deprecated c++17}} | (deprecated in C++17) |
| {{mark until c++17}} | (until C++17) |
| {{mark c++20}} | (C++20) |
| {{mark since c++20}} | (since C++20) |
| {{mark constexpr since c++20}} | (constexpr since C++20) |
| {{mark deprecated c++20}} | (deprecated in C++20) |
| {{mark until c++20}} | (until C++20) |
| {{mark c++23}} | (C++23) |
| {{mark since c++23}} | (since C++23) |
| {{mark constexpr since c++23}} | (constexpr since C++23) |
| {{mark deprecated c++23}} | (deprecated in C++23) |
| {{mark updated c++23}} | (updated in C++23) |
| {{mark until c++23}} | (until C++23) |
| {{mark c++26}} | (C++26) |
| {{mark since c++26}} | (since C++26) |
| {{mark constexpr since c++26}} | (constexpr since C++26) |
| {{mark deprecated c++26}} | (constexpr since C++26) |
| {{mark updated c++26}} | (updated in C++26) |
| {{mark until c++26}} | (until C++26) |
- C Standards
| Template | Annotation |
|---|---|
| {{mark c95}} | (C95) |
| {{mark since c95}} | (since C95) |
| {{mark until c95}} | (until C95) |
| {{mark c99}} | (C99) |
| {{ |