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 757812 - Doxygen do not support comparison angle bracket in template
Doxygen do not support comparison angle bracket in template
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.10
Other Linux
: Normal major
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2015-11-09 11:53 UTC by Baptiste Wicht
Modified: 2016-02-29 09:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Baptiste Wicht 2015-11-09 11:53:09 UTC
In the following code: 

struct foo {
    void a() {}

    template<int I, typename Enable = void>
    struct test_traits : std::false_type {};

    template<int I>
    struct test_traits<I, std::enable_if_t<(I < 3)>> : std::true_type {};

    void b() {}
};

doxygen only documents a() and not b(). Anything after the specialization is ignored without any warning. Replacing (I < 3) by (I == 3) makes it work.
Comment 1 Dimitri van Heesch 2015-12-20 14:25:10 UTC
Confirmed. Should be fixed in the next GIT update.
Comment 2 Dimitri van Heesch 2015-12-30 10:19:03 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.11. 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 (preferably in the form of a self-contained example).
Comment 3 Baptiste Wicht 2016-02-29 09:02:52 UTC
I can confirm that it works adequately now. Thanks.