Skip to content

Grouping and deriving from a template class leads to "not documented" members. #11095

@michaelcadilhac

Description

@michaelcadilhac

Describe the bug
When using both grouping and templates, Doxygen complains that all but the first element of the group do not have documentation. Documentation is however correctly created (inherited).

To Reproduce

Since it is an extremely short test case, I'll inline it:

/** SA. */
template <typename T>
struct A
{
  public:
    ///@{
    /** Same documentation for all members. Details */
    void f1 ();
    void f2 ();
    void f3 ();
    ///@}
};

/** SB. */
class B : public A<int> {};

Doxyfile:

JAVADOC_AUTOBRIEF  = YES
DISTRIBUTE_GROUP_DOC = YES

Running this, doxygen spits out:

file.cpp:9: warning: Member f2() (function) of class A< int > is not documented.
file.cpp:10: warning: Member f3() (function) of class A< int > is not documented.

Expected behavior
f2 and f3 are documented, this warning should not appear.

Version
1.12.0 on Arch Linux latest from official sources.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions