After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 700693 - Duplicate entry for class template member function with no parameter
Duplicate entry for class template member function with no parameter
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: documentation
1.8.4
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2013-05-20 08:01 UTC by geoff
Modified: 2013-08-23 15:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Demonstration header file and configuration file. (3.38 KB, application/zip)
2013-05-20 08:01 UTC, geoff
Details

Description geoff 2013-05-20 08:01:21 UTC
Created attachment 244757 [details]
Demonstration header file and configuration file.

When template member function has no parameters doxygen generates duplicate entries in the documentation.  For example this:

/*! \brief AClass is documented. */
class AClass {
public:
    template<typename C> class AChildClass;
    //! \name GroupA
    //!@{
    template<typename C> AChildClass<C> amemberfunc();
    //!@}
};

/*! \brief AChildClass is documented. */
template<typename C> class AClass::AChildClass { };

/*! \brief Member is documented. */
template<typename C>
AClass::AChildClass< C > AClass::amemberfunc()
{ return something(); }

results in amemberfunc showing in both under GroupA and under public.  The above provided as an example with matching config file in the attached.
Comment 1 Dimitri van Heesch 2013-05-20 10:49:45 UTC
Confirmed. Should be fixed in the next GIT update.
Comment 2 Dimitri van Heesch 2013-08-23 15:04:37 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.5. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.