Przestrzenie nazw
Warianty
Działania

Szablon:ref std

Z cppreference.com
  • {{{section}}} {{{title}}}
[edit] [{{purge}}] Dokumentacja szablonu

{{ref std c89}}

{{ref std c99}}

{{ref std c11}}

{{ref std c++98}}

{{ref std c++03}}

{{ref std c++11}}

{{ref std c++14}}

{{ref std c++17}}

{{ref std end}}

{{ref std| section=sekcja| title=tytuł| id=id(opcjonalne)| p=pages (opcjonalne)}}

Dodaje niezmienne formatowanie dla odnośników do standardu C++, w sekcji "Odnośniki". Każda sekcja musi zawsze zaczynać się od {{ref std c++*}} i kończyć się z {{ref std end}}.

[edytuj] Przykład

 
  {{ref std c++11}}
  {{ref std | section=8.3.5 | title=Funkcje | id=dcl.fct}}
  {{ref std | section=8.3.6 | title=Parametry domyślne | id=dcl.fct.default | p=1-2,4}}
  {{ref std end}}
  {{ref std c++98}}
  {{ref std | section=8.3.5 | title=Funkcje | id=dcl.fct}}
  {{ref std | section=8.3.6 | title=Parametry domyślne | id=dcl.fct.default | p=1-2,4}}
  {{ref std end}}
  

Powyższy skrypt daje wynik, który jest wyświetlany jako:

  • standard C++11 (ISO/IEC 14882:2011):
  • 8.3.5 Funkcje [dcl.fct]
  • 8.3.6 Parametry domyślne [dcl.fct.default](p: 1-2,4)
  • standard C++98 (ISO/IEC 14882:1998):
  • 8.3.5 Funkcje [dcl.fct]
  • 8.3.6 Parametry domyślne [dcl.fct.default](p: 1-2,4)