Opened 14 years ago

Closed 14 years ago

#2937 closed Bugs (fixed)

Workaround buggy XML from doxygen

Reported by: Daniel James Owned by: Daniel James
Milestone: Boost 1.39.0 Component: Documentation
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

For this code:

    template <typename TypeParameter, int NonTypeParameter,
        typename TypeParameterWithDefault = int>
    struct example_template {};

Doxygen 1.5.6 would generates the parameter list:

    <templateparamlist>
      <param>
        <type>typename</type>
        <declname>TypeParameter</declname>
        <defname>TypeParameter</defname>
      </param>
      <param>
        <type>int</type>
        <declname>NonTypeParameter</declname>
        <defname>NonTypeParameter</defname>
      </param>
      <param>
        <type>typename</type>
        <declname>TypeParameterWithDefault</declname>
        <defname>TypeParameterWithDefault</defname>
        <defval>int</defval>
      </param>
    </templateparamlist>

But Doxygen 1.5.8 generates:

    <templateparamlist>
      <param>
        <type>typename TypeParameter</type>
      </param>
      <param>
        <type>int</type>
        <declname>NonTypeParameter</declname>
        <defname>NonTypeParameter</defname>
      </param>
      <param>
        <type>typename TypeParameterWithDefault</type>
        <defval>int</defval>
      </param>
    </templateparamlist>

Note that the names of type parameters are inside the type. This is confusing doxygen2boostbook and I need to work around it.

Change History (2)

comment:1 by Daniel James, 14 years ago

Status: newassigned

Workaround in [52326].

comment:2 by Daniel James, 14 years ago

Resolution: fixed
Status: assignedclosed

Merged to release in [52345].

Note: See TracTickets for help on using tickets.