Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inherited template typedef does not extend template instantiation #10760

Closed
scott-zhong opened this issue Mar 20, 2024 · 3 comments
Closed

Inherited template typedef does not extend template instantiation #10760

scott-zhong opened this issue Mar 20, 2024 · 3 comments

Comments

@scott-zhong
Copy link

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.

@doxygen
Copy link
Owner

doxygen commented Apr 13, 2024

@scott-zhong Please verify if the referenced commit fixes the problem for you. Do not close the issue, this will be done automatically when the next official release becomes available.

@scott-zhong
Copy link
Author

@doxygen I have verified this fixes the problem. Thank you!!!

@albert-github albert-github added the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Apr 16, 2024
@doxygen
Copy link
Owner

doxygen commented May 20, 2024

This issue was previously marked 'fixed but not released',
which means it should be fixed in doxygen version 1.11.0.
Please verify if this is indeed the case. Reopen the
issue 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).

@doxygen doxygen removed the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label May 20, 2024
@doxygen doxygen closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants