Modify

Opened 9 years ago

Closed 9 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.

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by Daniel James

Status: newassigned

Workaround in [52326].

comment:2 Changed 9 years ago by Daniel James

Resolution: fixed
Status: assignedclosed

Merged to release in [52345].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Daniel James.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.