Przestrzenie nazw
Warianty

Szablon:ddcl list header

Z cppreference.com
[edit] [{{purge}}] Dokumentacja szablonu
This is one of the family of templates used for creation of detailed declaration lists.

For creation of function/variable declaration lists, see {{dcl list *}} (documentation)

For creation of typedef declaration lists, see {{tdcl list *}} (documentation)

{{ddcl list begin}} - starts the declaration list

{{ddcl list header}} - adds explanation which header the feature comes from

{{ddcl list sep}} - adds a separator

{{ddcl list item| notes=notes| num=num| declaration}} - adds an item to the declaration list. The notes parameter is optional and may be used to add notes about the feature. The num parameter is also optional and may be used for numbering purposes. declaration is the declaration of the feature. This template automatically adds {{ddcl list sep}} above the item.

{{ddcl list end}} - ends the declaration list. This template automatically adds {{ddcl list sep}} above the item.

Example

 
  {{ddcl list begin}}
  {{ddcl list header | abcd.h}}
  {{ddcl list item | notes=Faster than {{c|abc_slow}} | num=1 |
    template< class T> abc;
  }}
  {{ddcl list end}}
  

The above results in the following:

Zdefiniowane w nagłówku <abcd.h>
template< class T > abc;
(1) Faster than abc_slow