GNOME Bugzilla – Bug 612458
Documenting overloaded operator()(size_t) with copydoc does not work
Last modified: 2012-11-18 11:13:10 UTC
Given the following testcase: /** * A string class that should be documented. */ class RWCString { public: /** * Index operator. */ char& operator()(size_t i); /** * @copydoc char& RWCString::operator()(size_t) */ char operator()(size_t i) const }; doxygen & copydoc do not appear to "see" the second overload. We have tried several variations of specifying the method signature that we are passing to copydoc, none of which worked. This does not generate any error message, but it will not generate any documentation for the second overload.
Confirmed. I'll include your patch which should be included in the next subversion update. Using the following should then suffice: /** * @copydoc operator()(size_t) */ char operator()(size_t i) const
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.7.0. 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.