[Doxygen-develop] [BUG] Parse error with C++ operator overriding
Brought to you by:
dimitri
From: Morten E. <mo...@si...> - 2002-07-30 14:01:17
|
Hi, another annoying little buglet: ----8<--- [snip] ---------8<--- [snip] ---------8<--- [snip] ----- class MyClass { public: MyClass operator -(void) const; }; /*! \class MyClass Dummy doc. */ /*! test */ MyClass MyClass::operator-(void) const { return MyClass(); } ----8<--- [snip] ---------8<--- [snip] ---------8<--- [snip] ----- This causes doxygen to emit: <...>/minus_operator.cpp:16: Warning: member `operator-' of class `MyClass' cannot be found <...>/minus_operator.cpp:3: Warning: Member operator - of class MyClass is not documented. If the space between "operator" and "-" in the class declaration is removed, it works as expected. Overriding other built-in operators in the same manner causes the same error (ie it's not related specifically to the "-" character). Regards, Morten |