Skip to content

Incorrect output for a C++ type containing a function pointer #10703

@erankavija

Description

@erankavija

Describe the bug
The file

#include <vector>

class A;

/**
 * @brief Some class
 */
class C {
public:
  /// Some object 1
  std::vector<std::vector<A> (*)(A)>
      someObject1;
};

produces

<type>std::vector&lt; std::vector&lt; A &gt; A</type>

in the xml for the type of someObject1.

Expected behavior
The type should be parsed and output correctly.

To Reproduce
doxygen_issue.tar.gz

Version
OS:

LSB Version:    n/a
Distributor ID: Arch
Description:    Arch Linux
Release:        rolling
Codename:       n/a

Doxygen: compiled from sources
1.11.0 (70ca40726017f149f050f3448e7258bd504a81d6)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions