Skip to content

Doxygen do not support comparison angle bracket in template (Origin: bugzilla #757812) #5894

@doxygen

Description

@doxygen

status RESOLVED severity major in component general for ---
Reported in version 1.8.10 on platform Other
Assigned to: Dimitri van Heesch

On 2015-11-09 11:53:09 +0000, Baptiste Wicht wrote:

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.

On 2015-12-20 14:25:10 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next GIT update.

On 2015-12-30 10:19:03 +0000, Dimitri van Heesch wrote:

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).

On 2016-02-29 09:02:52 +0000, Baptiste Wicht wrote:

I can confirm that it works adequately now. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions