{"action":"closed","issue":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2133","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2133/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2133/comments","events_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2133/events","html_url":"https://github.com/sphinx-doc/sphinx/issues/2133","id":118931696,"number":2133,"title":"Unexpected automatic reference to constructor in C++ domain","user":{"login":"ngladitz","id":4358176,"avatar_url":"https://avatars.githubusercontent.com/u/4358176?v=3","gravatar_id":"","url":"https://api.github.com/users/ngladitz","html_url":"https://github.com/ngladitz","followers_url":"https://api.github.com/users/ngladitz/followers","following_url":"https://api.github.com/users/ngladitz/following{/other_user}","gists_url":"https://api.github.com/users/ngladitz/gists{/gist_id}","starred_url":"https://api.github.com/users/ngladitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngladitz/subscriptions","organizations_url":"https://api.github.com/users/ngladitz/orgs","repos_url":"https://api.github.com/users/ngladitz/repos","events_url":"https://api.github.com/users/ngladitz/events{/privacy}","received_events_url":"https://api.github.com/users/ngladitz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-25T22:04:41Z","updated_at":"2015-11-26T11:39:41Z","closed_at":"2015-11-26T11:39:41Z","body":"Given e.g.:\r\n```\r\n.. cpp:class:: Test\r\n\r\n    My class Test\r\n\r\n    .. cpp:function:: Test()   \r\n\r\n        My constructor\r\n\r\n    .. cpp:function:: void test(Test const& other)\r\n\r\n        Some function that takes another Test object\r\n```\r\n\r\nUsing html output the \"Test\" in \"void test(Test const& other)\" links to the constructor function named \"Test()\" rather than the class \"Test\".\r\n\r\nI think it should be the later?"}}