Template:spar tt
From cppreference.com
{{{1}}}
{{spar|text}} - used to mark-up identifiers referring to syntax constructs (text appears in italic).
- Example:
{{spar|init-statement}}results in init-statement
{{spar tt|text}} - used to mark-up identifiers referring to syntax constructs (text appears in italic+teletype).
- Example:
{{spar tt|argc}}results in argc
{{spar sep|text}} - a shorthand of {{spar|text}} with {{sep}}, used to mark-up identifiers referring to syntax constructs preceding non-space characters (text appears in italic).
- Example:
- buf
<>as a result of{{spar sep|buf}}{{tt|<>}}(i.e. withsep) vs - buf
<>as a result of{{spar|buf}}{{tt|<>}}(withoutsep)
- buf
- Example:
- foo
<>as a result of{{spar sep|foo}}{{tt|<>}}(i.e. withsep) vs - foo
<>as a result of{{spar|foo}}{{tt|<>}}(withoutsep).
- foo
{{spar optional|text}} - used to mark-up identifiers referring to optional syntax constructs.
- Example:
{{spar optional|attr}}results in attr (optional)
| The above documentation is transcluded from Template:spar/doc. (edit | history) Subpages of this template. |