Template:mark macro keyword
From cppreference.com
(keyword macro)
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 cond present}} | (conditionally present) |
{{mark implicit}} | (implicitly declared) |
{{mark concept}} | (concept) |
{{mark expos}} | (exposition only*) |
{{mark expos concept}} | (exposition-only concept*) |
{{mark tag}} | (tag) |
{{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 mem enum}} | (public member 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 noexcept since c++11}} | (noexcept 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 noexcept since c++14}} | (noexcept 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 noexcept since c++17}} | (noexcept since C++17) |
{{ |