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 700202 - Template static constexpr function member not recognized
Template static constexpr function member not recognized
Status: RESOLVED DUPLICATE of bug 700696
Product: doxygen
Classification: Other
Component: general
1.8.3
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2013-05-12 19:34 UTC by Vincent
Modified: 2013-05-20 18:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent 2013-05-12 19:34:35 UTC
There is a problem with matching template static constexpr function member in the following :
---------------------------------------------------------------------
#include <iostream>

/// \brief Class
class Class
{
    public: template <typename Type> static constexpr Type function();
};

/// \brief Function
template <typename Type>
constexpr Type Class::function()
{
    return 0;
}

int main()
{
    return 0;
}
---------------------------------------------------------------------
Doxygen generates two documentations for function() including an empty one.
Comment 1 Dimitri van Heesch 2013-05-20 18:03:13 UTC
I've fixed 700696 in GIT and this fix also works for this problem.

*** This bug has been marked as a duplicate of bug 700696 ***