Template:ref std c++11
From cppreference.com
- C++11 standard (ISO/IEC 14882:2011):
{{ref std c89}}
{{ref std c99}}
{{ref std c11}}
{{ref std c17}}
{{ref std c23}}
{{ref std c++98}}
{{ref std c++03}}
{{ref std c++11}}
{{ref std c++14}}
{{ref std c++17}}
{{ref std c++20}}
{{ref std c++23}}
{{ref std c++26}}
{{ref std end}}
{{ref std|section=section |title=title |id=id (optional)|p=pages (optional)}}
Applies consistent formatting to the references to the C and C++ standards in the "References" section. Each section must always start with {{ref std cXX}}
(for C) / {{ref std c++XX}}
(for C++) and end with {{ref std end}}
.
[edit] Example
{{ref std c++11}} {{ref std | section=8.3.5 | title=Functions | id=dcl.fct}} {{ref std | section=8.3.6 | title=Default arguments | id=dcl.fct.default | p=1-3,5}} {{ref std end}} {{ref std c++98}} {{ref std | section=8.3.5 | title=Functions | id=dcl.fct}} {{ref std | section=8.3.6 | title=Default arguments | id=dcl.fct.default | p=1-3,5}} {{ref std end}}
The above wikitext is rendered as:
- C++11 standard (ISO/IEC 14882:2011):
- 8.3.5 Functions [dcl.fct]
- 8.3.6 Default arguments [dcl.fct.default] (p: 1-3,5)
- C++98 standard (ISO/IEC 14882:1998):
- 8.3.5 Functions [dcl.fct]
- 8.3.6 Default arguments [dcl.fct.default] (p: 1-3,5)
The above documentation is transcluded from Template:ref std/doc. (edit | history) Subpages of this template. |