{"action":"created","issue":{"url":"https://api.github.com/repos/foonathan/cppast/issues/44","repository_url":"https://api.github.com/repos/foonathan/cppast","labels_url":"https://api.github.com/repos/foonathan/cppast/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/foonathan/cppast/issues/44/comments","events_url":"https://api.github.com/repos/foonathan/cppast/issues/44/events","html_url":"https://github.com/foonathan/cppast/issues/44","id":302076503,"number":44,"title":"Extracting constructor signature","user":{"login":"Manu343726","id":1561197,"avatar_url":"https://avatars3.githubusercontent.com/u/1561197?v=4","gravatar_id":"","url":"https://api.github.com/users/Manu343726","html_url":"https://github.com/Manu343726","followers_url":"https://api.github.com/users/Manu343726/followers","following_url":"https://api.github.com/users/Manu343726/following{/other_user}","gists_url":"https://api.github.com/users/Manu343726/gists{/gist_id}","starred_url":"https://api.github.com/users/Manu343726/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manu343726/subscriptions","organizations_url":"https://api.github.com/users/Manu343726/orgs","repos_url":"https://api.github.com/users/Manu343726/repos","events_url":"https://api.github.com/users/Manu343726/events{/privacy}","received_events_url":"https://api.github.com/users/Manu343726/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-04T11:03:19Z","updated_at":"2018-03-07T10:55:49Z","closed_at":"2018-03-04T16:39:46Z","author_association":"CONTRIBUTOR","body":"Hi,\r\n\r\nI'm trying to generate reflection information of class constructors, and I would like to extract the exact signature of a given cpp_constructor as an string. For example:\r\n\r\n``` cpp\r\nstruct Foo\r\n{\r\n     Foo(int i, const std::string& str);\r\n};\r\n```\r\n\r\nwould return \"Foo(int, const std::string&)\" for that Foo constructor.\r\n\r\nI've found that manipulating the cpp_type hierarchy myself is a bit tedious (handling all the different kinds of types, cross-referencing types thanks to pointers and reference qualifiers, etc), so I was wondering if you already wrote such a functionality. I see that Standardese outputs full signature function names, but I wasn't sure if Standardese just got the displayname from libclang (which is complete iirc) or if it implemented a complex get-function-signature algorithm like what I need.\r\n\r\nAfter checking Standardese sources for 30m I didn't find anything like that, so here I am asking for some pointers in that regard.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/foonathan/cppast/issues/comments/371101813","html_url":"https://github.com/foonathan/cppast/issues/44#issuecomment-371101813","issue_url":"https://api.github.com/repos/foonathan/cppast/issues/44","id":371101813,"user":{"login":"Manu343726","id":1561197,"avatar_url":"https://avatars3.githubusercontent.com/u/1561197?v=4","gravatar_id":"","url":"https://api.github.com/users/Manu343726","html_url":"https://github.com/Manu343726","followers_url":"https://api.github.com/users/Manu343726/followers","following_url":"https://api.github.com/users/Manu343726/following{/other_user}","gists_url":"https://api.github.com/users/Manu343726/gists{/gist_id}","starred_url":"https://api.github.com/users/Manu343726/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manu343726/subscriptions","organizations_url":"https://api.github.com/users/Manu343726/orgs","repos_url":"https://api.github.com/users/Manu343726/repos","events_url":"https://api.github.com/users/Manu343726/events{/privacy}","received_events_url":"https://api.github.com/users/Manu343726/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T10:55:49Z","updated_at":"2018-03-07T10:55:49Z","author_association":"CONTRIBUTOR","body":"no... really? Thank you, and sorry for this...."}}
{"actor":{"display_login":"Manu343726"}}