{"action":"closed","issue":{"url":"https://api.github.com/repos/ThePhD/sol2/issues/278","repository_url":"https://api.github.com/repos/ThePhD/sol2","labels_url":"https://api.github.com/repos/ThePhD/sol2/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/ThePhD/sol2/issues/278/comments","events_url":"https://api.github.com/repos/ThePhD/sol2/issues/278/events","html_url":"https://github.com/ThePhD/sol2/issues/278","id":189583988,"number":278,"title":"get_or<int> ambiguous","user":{"login":"stevetranby","id":225665,"avatar_url":"https://avatars.githubusercontent.com/u/225665?v=3","gravatar_id":"","url":"https://api.github.com/users/stevetranby","html_url":"https://github.com/stevetranby","followers_url":"https://api.github.com/users/stevetranby/followers","following_url":"https://api.github.com/users/stevetranby/following{/other_user}","gists_url":"https://api.github.com/users/stevetranby/gists{/gist_id}","starred_url":"https://api.github.com/users/stevetranby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevetranby/subscriptions","organizations_url":"https://api.github.com/users/stevetranby/orgs","repos_url":"https://api.github.com/users/stevetranby/repos","events_url":"https://api.github.com/users/stevetranby/events{/privacy}","received_events_url":"https://api.github.com/users/stevetranby/received_events","type":"User","site_admin":false},"labels":[{"id":330782349,"url":"https://api.github.com/repos/ThePhD/sol2/labels/Documentation","name":"Documentation","color":"009800","default":false},{"id":434900193,"url":"https://api.github.com/repos/ThePhD/sol2/labels/Help.Desk","name":"Help.Desk","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":{"login":"ThePhD","id":2886436,"avatar_url":"https://avatars.githubusercontent.com/u/2886436?v=3","gravatar_id":"","url":"https://api.github.com/users/ThePhD","html_url":"https://github.com/ThePhD","followers_url":"https://api.github.com/users/ThePhD/followers","following_url":"https://api.github.com/users/ThePhD/following{/other_user}","gists_url":"https://api.github.com/users/ThePhD/gists{/gist_id}","starred_url":"https://api.github.com/users/ThePhD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThePhD/subscriptions","organizations_url":"https://api.github.com/users/ThePhD/orgs","repos_url":"https://api.github.com/users/ThePhD/repos","events_url":"https://api.github.com/users/ThePhD/events{/privacy}","received_events_url":"https://api.github.com/users/ThePhD/received_events","type":"User","site_admin":false},"assignees":[{"login":"ThePhD","id":2886436,"avatar_url":"https://avatars.githubusercontent.com/u/2886436?v=3","gravatar_id":"","url":"https://api.github.com/users/ThePhD","html_url":"https://github.com/ThePhD","followers_url":"https://api.github.com/users/ThePhD/followers","following_url":"https://api.github.com/users/ThePhD/following{/other_user}","gists_url":"https://api.github.com/users/ThePhD/gists{/gist_id}","starred_url":"https://api.github.com/users/ThePhD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThePhD/subscriptions","organizations_url":"https://api.github.com/users/ThePhD/orgs","repos_url":"https://api.github.com/users/ThePhD/repos","events_url":"https://api.github.com/users/ThePhD/events{/privacy}","received_events_url":"https://api.github.com/users/ThePhD/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ThePhD/sol2/milestones/9","html_url":"https://github.com/ThePhD/sol2/milestones/Helpdesk","labels_url":"https://api.github.com/repos/ThePhD/sol2/milestones/9/labels","id":1938255,"number":9,"title":"Helpdesk","description":"Welcome! How may I assist you...","creator":{"login":"ThePhD","id":2886436,"avatar_url":"https://avatars.githubusercontent.com/u/2886436?v=3","gravatar_id":"","url":"https://api.github.com/users/ThePhD","html_url":"https://github.com/ThePhD","followers_url":"https://api.github.com/users/ThePhD/followers","following_url":"https://api.github.com/users/ThePhD/following{/other_user}","gists_url":"https://api.github.com/users/ThePhD/gists{/gist_id}","starred_url":"https://api.github.com/users/ThePhD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThePhD/subscriptions","organizations_url":"https://api.github.com/users/ThePhD/orgs","repos_url":"https://api.github.com/users/ThePhD/repos","events_url":"https://api.github.com/users/ThePhD/events{/privacy}","received_events_url":"https://api.github.com/users/ThePhD/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":25,"state":"open","created_at":"2016-08-12T03:44:55Z","updated_at":"2016-11-16T19:31:46Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-11-16T04:23:26Z","updated_at":"2016-11-16T19:31:46Z","closed_at":"2016-11-16T19:31:46Z","body":"Apple LLVM version 8.0.0 (clang-800.0.42.1)\r\nTarget: x86_64-apple-darwin16.1.0\r\n```\r\n// error: call to member function 'get_or' is ambiguous\r\nint second_try = lua[\"exists\"].get_or<int>(322);\r\n// these compile OK (also char, float, and double compile OK)\r\nshort second_try2 = lua.get_or<short>(\"exists\", 322);\r\nshort second_try3 = lua[\"exists\"].get_or<short>(322);\r\n```\r\nMight be my build settings. Or XCode's clang doesn't support or conform to c++14 fully.\r\n\r\nAlso of note, the quick tutorial code (on page) seems to have a few syntax issues if copy/pasted."}}
{"actor":{"display_login":"ThePhD"}}