Template:mark until c++23
(until C++23)
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) |
| {{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 noexcept since c++20}} | (noexcept 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 noexcept since c++23}} | (noexcept 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 noexcept since c++26}} | (noexcept since C++26) |
| {{mark deprecated c++26}} | (deprecated in 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) |
| {{mark since c99}} | (since C99) |
| {{mark until c99}} | (until C99) |
| {{mark c11}} | (C11) |
| {{mark since c11}} | (since C11) |
| {{mark until c11}} | (until C11) |
| {{mark c17}} | (C17) |
| {{mark since c17}} | (since C17) |
| {{mark deprecated c17}} | (deprecated in C17) |
| {{mark until c17}} | (until C17) |
| {{mark c23}} | (C23) |
| {{mark since c23}} | (since C23) |
| {{mark deprecated c23}} | (deprecated in C23) |
| {{mark until c23}} | (until C23) |
| {{mark since none}} | (since {std}) |
| {{mark until none}} | (until {std}) |
- Combinations
{{mark life|appear=c++xx (optional)|since=c++xx (optional)|deprecated=c++xx (optional)|until=c++xx (optional)|removed=c++xx (optional)|br=yes (optional)}}
- Example:
{{mark life|since=c++11|deprecated=c++17|removed=c++20}}results in - (since C++11)(deprecated in C++17)(removed in C++20)
- Example:
{{mark life|appear=c++11|until=c++20}}results in (C++11)(until C++20)
- Optional parameter br can be set to yes to display each annotation in a separate line, e.g.
- Example:
{{mark life|since=c++11|deprecated=c++17|removed=c++20|br=yes}}results in - (since C++11)
(deprecated in C++17)
(removed in C++20)
- Technical specifications
| Template | Annotation |
|---|---|
| {{mark since libfund ts}} | (library fundamentals TS) |
| {{mark since libfund ts 2}} | (library fundamentals TS v2) |
| {{mark since libfund ts 3}} | (library fundamentals TS v3) |
| {{mark since fs ts}} | (filesystem TS) |
| {{mark since parallelism ts}} | (parallelism TS) |
| {{mark since parallelism ts 2}} | (parallelism TS v2) |
| {{mark since concepts ts}} | (concepts TS) |
| {{mark since concurrency ts}} | (concurrency TS) |
| {{mark since concurrency ts 2}} | (concurrency TS v2) |
| {{mark since tm ts}} | (TM TS) |
| {{mark since special functions tr}} | (special functions TR) |
| {{mark since modules ts}} | (modules TS) |
| {{mark since coro ts}} | (coroutines TS) |
| {{mark since reflection ts}} | (reflection TS) |
- Functions
| Template | Annotation |
|---|---|
| {{mark fun}} | (function) |
| {{mark expos fun}} | (exposition-only function*) |
| {{mark tfun}} | (function template) |
| {{mark expos tfun}} | (exposition-only function template*) |
| {{mark mem fun}} | (public member function) |
| {{mark mem sfun}} | (public static member function) |
| {{mark mem vfun}} | (virtual public member function) |
| {{mark priv mem fun}} | (private member function) |
| {{mark prot mem fun}} | (protected member function) |
| {{mark prot mem vfun}} | (virtual protected member function) |
| {{mark expos mem fun}} | (exposition-only member function*) |
| {{mark expos mem sfun}} | (exposition-only static member function*) |
| {{mark macro fun}} | (function macro) |
| {{mark macro tfun}} | (type-generic function macro) |
- Classes
| Template | Annotation |
|---|---|
| {{mark class}} | (class) |
| {{mark tclass}} | (class template) |
| {{mark talias}} | (alias template) |
| {{mark ptclass}} | (class template specialization) |
| {{mark mem class}} | (public member class) |
| {{mark priv mem class}} | (private member class) |
| {{mark prot mem class}} | (protected member class) |
| {{mark mem tclass}} | (public member class template) |
| {{mark priv mem tclass}} | (private member class template) |
| {{mark expos mem class}} | (exposition-only member class*) |
| {{mark expos mem tclass}} | (exposition-only member class template*) |
| {{mark priv ntclass}} | (private nested class template) |
- Constants
| Template | Annotation |
|---|---|
| {{mark macro const}} | (macro constant) |
| {{mark const}} | (constant) |
| {{mark mem const}} | (public member constant) |
| {{mark mem sconst}} | (public static member constant) |
| {{mark expos mem sconst}} | (exposition-only static member constant*) |
- Objects
| Template | Annotation |
|---|---|
| {{mark mem obj}} | (public member object) |
| {{mark priv mem obj}} | (private member object) |
| {{mark prot mem obj}} | (protected member object) |
| {{mark expos mem obj}} | (exposition-only member object*) |
| {{mark expos mem var}} | (exposition-only variant member object*) |
| {{mark custpt}} | (customization point object) |
| {{mark rao}} | (range adaptor object) |
| {{mark niebloid}} | (algorithm function object) |
- Container marks support
{{cpp/container/mark std|container}} - outputs (C++11), (C++20), (C++23) etc., according to the revision of given standard container. The output is empty for pre-C++11 containers.
Example
{{cpp/container/mark std|vector}}results in (nothing){{cpp/container/mark std|array}}results in (C++11){{cpp/container/mark std|unordered_set}}results in (C++11){{cpp/container/mark std|span}}results in (C++20){{cpp/container/mark std|flat_set}}results in (C++23)
| The above documentation is transcluded from Template:mark/doc. (edit | history) Subpages of this template. |