{"action":"created","comment":{"url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/pulls/comments/65900282","id":65900282,"diff_hunk":"@@ -18,6 +18,10 @@\n \n #include <stddef.h>\n #include <complex.h>","path":"mpp/shmem.h.in","position":3,"original_position":3,"commit_id":"1f1d7796f6983dec33a890ab95e4e61580e1bd1f","original_commit_id":"1f1d7796f6983dec33a890ab95e4e61580e1bd1f","user":{"login":"jpdoyle","id":1918771,"avatar_url":"https://avatars.githubusercontent.com/u/1918771?v=3","gravatar_id":"","url":"https://api.github.com/users/jpdoyle","html_url":"https://github.com/jpdoyle","followers_url":"https://api.github.com/users/jpdoyle/followers","following_url":"https://api.github.com/users/jpdoyle/following{/other_user}","gists_url":"https://api.github.com/users/jpdoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/jpdoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpdoyle/subscriptions","organizations_url":"https://api.github.com/users/jpdoyle/orgs","repos_url":"https://api.github.com/users/jpdoyle/repos","events_url":"https://api.github.com/users/jpdoyle/events{/privacy}","received_events_url":"https://api.github.com/users/jpdoyle/received_events","type":"User","site_admin":false},"body":"The relevant StackOverflow post: http://stackoverflow.com/questions/22115996/complex-type-with-c-linkage-in-c11\r\n\r\nI'll write up some test cases to see what nonsense you have to do to use complex in C++.","created_at":"2016-06-06T14:33:10Z","updated_at":"2016-06-06T14:33:10Z","html_url":"https://github.com/Sandia-OpenSHMEM/SOS/pull/198#discussion_r65900282","pull_request_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/pulls/198","_links":{"self":{"href":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/pulls/comments/65900282"},"html":{"href":"https://github.com/Sandia-OpenSHMEM/SOS/pull/198#discussion_r65900282"},"pull_request":{"href":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/pulls/198"}}},"pull_request":{"url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/pulls/198","id":72037673,"html_url":"https://github.com/Sandia-OpenSHMEM/SOS/pull/198","diff_url":"https://github.com/Sandia-OpenSHMEM/SOS/pull/198.diff","patch_url":"https://github.com/Sandia-OpenSHMEM/SOS/pull/198.patch","issue_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/issues/198","number":198,"state":"open","locked":false,"title":"C++ API","user":{"login":"jpdoyle","id":1918771,"avatar_url":"https://avatars.githubusercontent.com/u/1918771?v=3","gravatar_id":"","url":"https://api.github.com/users/jpdoyle","html_url":"https://github.com/jpdoyle","followers_url":"https://api.github.com/users/jpdoyle/followers","following_url":"https://api.github.com/users/jpdoyle/following{/other_user}","gists_url":"https://api.github.com/users/jpdoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/jpdoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpdoyle/subscriptions","organizations_url":"https://api.github.com/users/jpdoyle/orgs","repos_url":"https://api.github.com/users/jpdoyle/repos","events_url":"https://api.github.com/users/jpdoyle/events{/privacy}","received_events_url":"https://api.github.com/users/jpdoyle/received_events","type":"User","site_admin":false},"body":"Adds C++ bindings that support overloaded dispatch. Lets you write code like:\r\n\r\n    static double x;\r\n    \r\n    shmem_p(&x,0.0,1); // calls shmem_double_p(&x,0.0,1) based on the type of &x\r\n\r\nThere should be no runtime overhead to these wrappers. They are declared static inline, and function overload resolution is handled at compile time in C++.","created_at":"2016-05-31T15:36:42Z","updated_at":"2016-06-06T14:33:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44be38ee762a94c5c331e76f8e8d335985da1cc6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/pulls/198/commits","review_comments_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/pulls/198/comments","review_comment_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/issues/198/comments","statuses_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/statuses/1f1d7796f6983dec33a890ab95e4e61580e1bd1f","head":{"label":"jpdoyle:shmem-cpp","ref":"shmem-cpp","sha":"1f1d7796f6983dec33a890ab95e4e61580e1bd1f","user":{"login":"jpdoyle","id":1918771,"avatar_url":"https://avatars.githubusercontent.com/u/1918771?v=3","gravatar_id":"","url":"https://api.github.com/users/jpdoyle","html_url":"https://github.com/jpdoyle","followers_url":"https://api.github.com/users/jpdoyle/followers","following_url":"https://api.github.com/users/jpdoyle/following{/other_user}","gists_url":"https://api.github.com/users/jpdoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/jpdoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpdoyle/subscriptions","organizations_url":"https://api.github.com/users/jpdoyle/orgs","repos_url":"https://api.github.com/users/jpdoyle/repos","events_url":"https://api.github.com/users/jpdoyle/events{/privacy}","received_events_url":"https://api.github.com/users/jpdoyle/received_events","type":"User","site_admin":false},"repo":{"id":59860210,"name":"SOS","full_name":"jpdoyle/SOS","owner":{"login":"jpdoyle","id":1918771,"avatar_url":"https://avatars.githubusercontent.com/u/1918771?v=3","gravatar_id":"","url":"https://api.github.com/users/jpdoyle","html_url":"https://github.com/jpdoyle","followers_url":"https://api.github.com/users/jpdoyle/followers","following_url":"https://api.github.com/users/jpdoyle/following{/other_user}","gists_url":"https://api.github.com/users/jpdoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/jpdoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpdoyle/subscriptions","organizations_url":"https://api.github.com/users/jpdoyle/orgs","repos_url":"https://api.github.com/users/jpdoyle/repos","events_url":"https://api.github.com/users/jpdoyle/events{/privacy}","received_events_url":"https://api.github.com/users/jpdoyle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jpdoyle/SOS","description":"Sandia OpenSHMEM is an implementation of the OpenSHMEM specification over multiple Networking APIs, including Portals 4 and the Open Fabric Interface (OFI).  Please click on the Wiki tab for help with building and using SOS.","fork":true,"url":"https://api.github.com/repos/jpdoyle/SOS","forks_url":"https://api.github.com/repos/jpdoyle/SOS/forks","keys_url":"https://api.github.com/repos/jpdoyle/SOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jpdoyle/SOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jpdoyle/SOS/teams","hooks_url":"https://api.github.com/repos/jpdoyle/SOS/hooks","issue_events_url":"https://api.github.com/repos/jpdoyle/SOS/issues/events{/number}","events_url":"https://api.github.com/repos/jpdoyle/SOS/events","assignees_url":"https://api.github.com/repos/jpdoyle/SOS/assignees{/user}","branches_url":"https://api.github.com/repos/jpdoyle/SOS/branches{/branch}","tags_url":"https://api.github.com/repos/jpdoyle/SOS/tags","blobs_url":"https://api.github.com/repos/jpdoyle/SOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jpdoyle/SOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jpdoyle/SOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/jpdoyle/SOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jpdoyle/SOS/statuses/{sha}","languages_url":"https://api.github.com/repos/jpdoyle/SOS/languages","stargazers_url":"https://api.github.com/repos/jpdoyle/SOS/stargazers","contributors_url":"https://api.github.com/repos/jpdoyle/SOS/contributors","subscribers_url":"https://api.github.com/repos/jpdoyle/SOS/subscribers","subscription_url":"https://api.github.com/repos/jpdoyle/SOS/subscription","commits_url":"https://api.github.com/repos/jpdoyle/SOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/jpdoyle/SOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/jpdoyle/SOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/jpdoyle/SOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/jpdoyle/SOS/contents/{+path}","compare_url":"https://api.github.com/repos/jpdoyle/SOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jpdoyle/SOS/merges","archive_url":"https://api.github.com/repos/jpdoyle/SOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jpdoyle/SOS/downloads","issues_url":"https://api.github.com/repos/jpdoyle/SOS/issues{/number}","pulls_url":"https://api.github.com/repos/jpdoyle/SOS/pulls{/number}","milestones_url":"https://api.github.com/repos/jpdoyle/SOS/milestones{/number}","notifications_url":"https://api.github.com/repos/jpdoyle/SOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jpdoyle/SOS/labels{/name}","releases_url":"https://api.github.com/repos/jpdoyle/SOS/releases{/id}","deployments_url":"https://api.github.com/repos/jpdoyle/SOS/deployments","created_at":"2016-05-27T20:03:32Z","updated_at":"2016-05-27T20:03:33Z","pushed_at":"2016-06-02T14:53:07Z","git_url":"git://github.com/jpdoyle/SOS.git","ssh_url":"git@github.com:jpdoyle/SOS.git","clone_url":"https://github.com/jpdoyle/SOS.git","svn_url":"https://github.com/jpdoyle/SOS","homepage":"","size":1460,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Sandia-OpenSHMEM:master","ref":"master","sha":"a366279123cf44f54b24c79820434530f9c137af","user":{"login":"Sandia-OpenSHMEM","id":16339082,"avatar_url":"https://avatars.githubusercontent.com/u/16339082?v=3","gravatar_id":"","url":"https://api.github.com/users/Sandia-OpenSHMEM","html_url":"https://github.com/Sandia-OpenSHMEM","followers_url":"https://api.github.com/users/Sandia-OpenSHMEM/followers","following_url":"https://api.github.com/users/Sandia-OpenSHMEM/following{/other_user}","gists_url":"https://api.github.com/users/Sandia-OpenSHMEM/gists{/gist_id}","starred_url":"https://api.github.com/users/Sandia-OpenSHMEM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sandia-OpenSHMEM/subscriptions","organizations_url":"https://api.github.com/users/Sandia-OpenSHMEM/orgs","repos_url":"https://api.github.com/users/Sandia-OpenSHMEM/repos","events_url":"https://api.github.com/users/Sandia-OpenSHMEM/events{/privacy}","received_events_url":"https://api.github.com/users/Sandia-OpenSHMEM/received_events","type":"Organization","site_admin":false},"repo":{"id":42528680,"name":"SOS","full_name":"Sandia-OpenSHMEM/SOS","owner":{"login":"Sandia-OpenSHMEM","id":16339082,"avatar_url":"https://avatars.githubusercontent.com/u/16339082?v=3","gravatar_id":"","url":"https://api.github.com/users/Sandia-OpenSHMEM","html_url":"https://github.com/Sandia-OpenSHMEM","followers_url":"https://api.github.com/users/Sandia-OpenSHMEM/followers","following_url":"https://api.github.com/users/Sandia-OpenSHMEM/following{/other_user}","gists_url":"https://api.github.com/users/Sandia-OpenSHMEM/gists{/gist_id}","starred_url":"https://api.github.com/users/Sandia-OpenSHMEM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sandia-OpenSHMEM/subscriptions","organizations_url":"https://api.github.com/users/Sandia-OpenSHMEM/orgs","repos_url":"https://api.github.com/users/Sandia-OpenSHMEM/repos","events_url":"https://api.github.com/users/Sandia-OpenSHMEM/events{/privacy}","received_events_url":"https://api.github.com/users/Sandia-OpenSHMEM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sandia-OpenSHMEM/SOS","description":"Sandia OpenSHMEM is an implementation of the OpenSHMEM specification over multiple Networking APIs, including Portals 4 and the Open Fabric Interface (OFI).  Please click on the Wiki tab for help with building and using SOS.","fork":false,"url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS","forks_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/forks","keys_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/teams","hooks_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/hooks","issue_events_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/issues/events{/number}","events_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/events","assignees_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/assignees{/user}","branches_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/branches{/branch}","tags_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/tags","blobs_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/statuses/{sha}","languages_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/languages","stargazers_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/stargazers","contributors_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/contributors","subscribers_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/subscribers","subscription_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/subscription","commits_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/contents/{+path}","compare_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/merges","archive_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/downloads","issues_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/issues{/number}","pulls_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/pulls{/number}","milestones_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/milestones{/number}","notifications_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/labels{/name}","releases_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/releases{/id}","deployments_url":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/deployments","created_at":"2015-09-15T15:34:37Z","updated_at":"2016-05-24T15:21:30Z","pushed_at":"2016-06-02T14:53:07Z","git_url":"git://github.com/Sandia-OpenSHMEM/SOS.git","ssh_url":"git@github.com:Sandia-OpenSHMEM/SOS.git","clone_url":"https://github.com/Sandia-OpenSHMEM/SOS.git","svn_url":"https://github.com/Sandia-OpenSHMEM/SOS","homepage":"","size":1569,"stargazers_count":9,"watchers_count":9,"language":"C","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":41,"forks":13,"open_issues":41,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/pulls/198"},"html":{"href":"https://github.com/Sandia-OpenSHMEM/SOS/pull/198"},"issue":{"href":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/issues/198"},"comments":{"href":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/issues/198/comments"},"review_comments":{"href":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/pulls/198/comments"},"review_comment":{"href":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/pulls/198/commits"},"statuses":{"href":"https://api.github.com/repos/Sandia-OpenSHMEM/SOS/statuses/1f1d7796f6983dec33a890ab95e4e61580e1bd1f"}}}}
{"actor":{"display_login":"jpdoyle"}}