Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot make explicit links to C++ const member functions [with test case] (Origin: bugzilla #739211) #5669

Closed
doxygen opened this issue Jul 2, 2018 · 0 comments

Comments

@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.8.8-GIT on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2014-10-26 15:53:16 +0000, Vladimír Vondruš wrote:

Created attachment 289352
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 :)

On 2014-11-16 15:23:54 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next GIT update.

On 2014-11-16 19:30:21 +0000, Vladimír Vondruš wrote:

Works now, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant