2
0
mirror of https://github.com/boostorg/docca.git synced 2026-01-19 04:12:08 +00:00

related operators overload anchors are now generated correctly

This commit is contained in:
Ruben Perez
2024-08-14 14:18:57 +02:00
committed by Dmitry
parent a9cbdbebc0
commit 1806ba11b8

View File

@@ -705,8 +705,8 @@ static
overload{{ entity.overload_index + 1 }}
{%- elif entity.scope and not entity.scope is Namespace -%}
{{ sanitize_path_segment(entity.name) }}
{%- if entity is Function and entity.is_friend -%}_fr{%- endif -%}
{%- if entity is Function and entity.is_free -%}_fe{%- endif -%}
{%- if (entity is Function or entity is OverloadSet) and entity.is_friend -%}_fr{%- endif -%}
{%- if (entity is Function or entity is OverloadSet) and entity.is_free -%}_fe{%- endif -%}
{%- else -%}
{%- set sep = joiner("__") -%}
{%- for segment in entity.path -%}