[Doxygen-users] C++ bug with final classes ?
Brought to you by:
dimitri
From: Barthelemy V. H. <Bar...@ce...> - 2015-08-11 09:25:51
|
Hello, I have a class defined as : class ExampleTask final : public TaskInterface { public: ExampleTask(std::string name, Publisher *publisher); void initialize() override; }; Implementation being : ExampleTask::ExampleTask(std::string name, Publisher *publisher) : TaskInterface(name, publisher) { } void ExampleTask::initialize() { // nothing } When I run doxygen, I get : ExampleTask.cxx:22: Warning: no matching class member found for ExampleTask::ExampleTask(std::string name, Publisher *publisher) ExampleTask.cxx:30: Warning: no uniquely matching class member found for void ExampleTask::initialize() I don't think that the error is correct. After some tests, I realized that removing the "final" from the class definitio solved the issue. Is it a bug or is it me who do something illegal in C++ ? Thank you in advance for your help, Barth |