|
| 1 | +{{#if (eq kind "builtin")~}} |
| 2 | + {{#if cv-qualifiers}}{{cv-qualifiers}} {{/if~}} |
| 3 | + {{name~}} |
| 4 | +{{~else if (eq kind "tag")~}} |
| 5 | + {{#if cv-qualifiers}}{{cv-qualifiers}} {{/if~}} |
| 6 | + {{#if parent-type~}}{{>declarator parent-type decl-name="" decl-name-targs=""}}::{{/if~}} |
| 7 | + {{#if id}}xref:{{id}}[{{name~}}]{{else}}{{name~}}{{/if}} |
| 8 | +{{~else if (eq kind "specialization")~}} |
| 9 | + {{#if cv-qualifiers}}{{cv-qualifiers}} {{/if~}} |
| 10 | + {{#if parent-type~}}{{>declarator parent-type decl-name="" decl-name-targs=""}}::{{/if~}} |
| 11 | + {{#if id}}xref:{{id}}[{{name~}}]{{else}}{{name~}}{{/if}} |
| 12 | + {{~>template-args args=template-args~}} |
| 13 | +{{~else if (eq kind "lvalue-reference")~}} |
| 14 | + {{~>declarator-before pointee-type~}} |
| 15 | + {{#if (or (eq pointee-type.kind "array") (eq pointee-type.kind "function"))~}}({{~/if~}}& |
| 16 | +{{~else if (eq kind "rvalue-reference")~}} |
| 17 | + {{~>declarator-before pointee-type~}} |
| 18 | + {{#if (or (eq pointee-type.kind "array") (eq pointee-type.kind "function"))~}}({{~/if~}}&& |
| 19 | +{{~else if (eq kind "pointer")~}} |
| 20 | + {{~>declarator-before pointee-type~}} |
| 21 | + {{#if (or (eq pointee-type.kind "array") (eq pointee-type.kind "function"))~}}({{~/if~}}* |
| 22 | + {{~#if cv-qualifiers}} {{cv-qualifiers}}{{/if~}} |
| 23 | +{{~else if (eq kind "member-pointer")~}} |
| 24 | + {{~>declarator-before pointee-type~}} |
| 25 | + {{#if (or (eq pointee-type.kind "array") (eq pointee-type.kind "function"))~}}({{~/if~}} |
| 26 | + {{#if parent-type~}}{{>declarator parent-type decl-name="" decl-name-targs=""}}::*{{/if~}} |
| 27 | + {{#if cv-qualifiers}} {{cv-qualifiers}}{{/if~}} |
| 28 | +{{~else if (eq kind "pack")~}} |
| 29 | + {{~>declarator-before pattern-type~}}... |
| 30 | +{{~else if (eq kind "array")~}} |
| 31 | + {{~>declarator-before element-type~}} |
| 32 | +{{~else if (eq kind "function")~}} |
| 33 | + {{~>declarator-before return-type~}} |
| 34 | +{{/if}} |
0 commit comments