GNOME Bugzilla – Bug 739211
Cannot make explicit links to C++ const member functions [with test case]
Last modified: 2014-11-16 19:30:21 UTC
Created attachment 289352 [details] Repro/test case See attached ZIP file for minimal repro case or the following snippet: /** @brief Foo */ struct Foo { /** * @brief Fun of two * * - fun() const * - @ref fun() const * - @ref fun() const "title" */ static Foo fun(Foo a, Foo b); /** @brief Fun with itself */ Foo fun() const; }; It is not possible to make explicit link to `Foo::fun() const` with @ref. In the generated HTML docs the first (implicit) link is OK and also links to the right location, the second link is done only from `foo()` (and the `const` remains non-clickable in default font) and also improperly links to `Foo::fun(Foo, Foo)`. The third one highlights `fun() const` and links to proper location, but the link title in quotes appears as `"title"` in default font after the link. Tested with current Git (a31c9ff), but the issue appears for some time already. I'm currently working around this by using implicit reference, but I'd like to disable `AUTOLINK_SUPPORT` and have everything explicit to avoid having plain English words highlighted as links :)
Confirmed. Should be fixed in the next GIT update.
Works now, thanks!