GNOME Bugzilla – Bug 739863
Regression: Base classes incorrect when using CRTP with default template parameter
Last modified: 2014-12-25 16:02:46 UTC
This started in 1.8.7, and persists in 1.8.8. Consider the following code: template < typename ThisImplementation, typename ThisInterface = Consumer > class DefaultConsumer: public ThisInterface { // ... }; class Evaluator: public DefaultConsumer<Evaluator> { // ... }; Prior to 1.8.7, the hierarchy correctly showed that Evaluator derived from DefaultConsumer<Evaluator, Consumer>, which in turn derived from Consumer. In 1.8.7 and 1.8.8, the hierarchy incorrectly shows that Evaluator derives from DefaultConsumer<Evaluator>, which derives from "ThisInterface".
This is specifically a problem with default template parameters; when the argument is explicitly specified, the class hierarchy is correct.
Confirmed. Should be fixed in the next GIT update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.9. 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 (preferrably in the form of a self-contained example).