GNOME Bugzilla – Bug 759381
unable to @ref or @link C++ templated operator overloads
Last modified: 2015-12-30 10:19:59 UTC
In a templated class doxygen is unable to reference or link operator overloads, while on a regular member function @ref and @link work fine. See example below. /** the example class Foo === In class @ref Foo<T> "Foo" you cannot reference to operators like @ref Foo<T>::operator+() but to functions like @ref Foo<T>::foo() you can. The same goes with linking @link Foo<T>::operator+() operator+() @endlink and @link Foo<T>::foo() foo() @endlink */ template<typename T> class Foo { public: Foo() {} /** operator+ for Foo.*/ void operator+() {} /** foo function instead of operator.*/ void foo() {} };
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.11. 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 (preferably in the form of a self-contained example).