File: synopsis_friend_function.tmpl

package info (click to toggle)
libthrust 1.17.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,900 kB
  • sloc: ansic: 29,519; cpp: 23,989; python: 1,421; sh: 811; perl: 460; makefile: 112
file content (19 lines) | stat: -rw-r--r-- 1,015 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{%- include "synopsis_leading_line_break.tmpl" -%}
{%- include "synopsis_inherited_from.tmpl" -%}
{%- set child.synopsis_indent_width = default(synopsis_indent_width, 0) -%}
{{- render("synopsis_brief.tmpl", child) -}}
{{- render("synopsis_template_parameters.tmpl", child) -}}
{#- Unfortunately, the refid and URL for a friend class  -#}{{ noop() -}}
{#- incorrectly refers to a definition on the local      -#}{{ noop() -}}
{#- page, instead of the friend class's own page.        -#}{{ noop() -}}
{#- So we don't link to friend classes.                  -#}{{ noop() -}}
<span>{{ noop() -}}
  {%- include "synopsis_indent.tmpl" -%}
  friend {{- render("synopsis_type_and_leading_specifiers.tmpl", child) -}}
</span>
<span>{{ noop() -}}
  {%- include "synopsis_indent.tmpl" -%}
  <b>{{- render("name_qualified.tmpl", child) -}}</b>{{ noop() -}}
  ({{- render("synopsis_function_parameters.tmpl", child) -}}){{ noop() -}}
  {{- render("synopsis_function_trailing_specifiers.tmpl", child) -}};{{ noop() -}}
</span>