Skip to content

Inherited template typedef does not extend template instantiation #10760

@scott-zhong

Description

@scott-zhong

Describe the bug
Inherited template typedef does not extend template instantiation. The problem started with 1.8.18 and continues with Doxygen trunk (cbb48ed).

/**
 * Base docs
 */
template <class Type>
class Base
{
public:
    /**
     * A typedef
     */
    typedef typename Type::element_type element_type;
};

/**
 * MyCharType docs
 */
class MyCharType
{
public:
    /**
     * A typedef
     */
    typedef char element_type;
};

/**
 * Derived docs
 */
class Derived : public Base<MyCharType>
{
};

Screenshots
Doxygen 1.8.17:
image

Doxygen 1.8.18 - Doxygen trunk (cbb48ed):
image

To Reproduce
testcase.zip

Expected behavior
Type should be expanded to MyCharType.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions