Namespaces
Variants
Actions

Template:sdsc begin

From cppreference.com
[edit] [{{purge}}] Template documentation

This is one of the family of templates used for creation of syntax explanation lists.

List template families

  • dsc **** : For creation of member variable/function lists.
  • dcl **** : For creation of detailed declaration lists (those including actual declaration code).
  • sdsc **** : For creation of lists representing various syntaxes of a language feature. Used in subpages of cpp/language.
  • par **** : For creation of lists explaining function parameters.
  • spar **** : For creation of lists explaining syntax parameters.
  • nv **** : For creation of feature lists in navbars.
  • elink **** : For creation of External links lists.

{{sdsc begin}}

starts the declaration list

{{sdsc end}}

ends the declaration list. This template automatically adds {{sdsc sep}} above the item.

{{sdsc sep}}

adds a separator

{{sdsc| 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 {{sdsc sep}} above the item.