{"action":"created","issue":{"url":"https://api.github.com/repos/kokkos/kokkos/issues/1552","repository_url":"https://api.github.com/repos/kokkos/kokkos","labels_url":"https://api.github.com/repos/kokkos/kokkos/issues/1552/labels{/name}","comments_url":"https://api.github.com/repos/kokkos/kokkos/issues/1552/comments","events_url":"https://api.github.com/repos/kokkos/kokkos/issues/1552/events","html_url":"https://github.com/kokkos/kokkos/issues/1552","id":313169471,"number":1552,"title":"Question: how to declare and initialize a scalar (zero-dimensional) DualView?","user":{"login":"Char-Aznable","id":32589713,"avatar_url":"https://avatars1.githubusercontent.com/u/32589713?v=4","gravatar_id":"","url":"https://api.github.com/users/Char-Aznable","html_url":"https://github.com/Char-Aznable","followers_url":"https://api.github.com/users/Char-Aznable/followers","following_url":"https://api.github.com/users/Char-Aznable/following{/other_user}","gists_url":"https://api.github.com/users/Char-Aznable/gists{/gist_id}","starred_url":"https://api.github.com/users/Char-Aznable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Char-Aznable/subscriptions","organizations_url":"https://api.github.com/users/Char-Aznable/orgs","repos_url":"https://api.github.com/users/Char-Aznable/repos","events_url":"https://api.github.com/users/Char-Aznable/events{/privacy}","received_events_url":"https://api.github.com/users/Char-Aznable/received_events","type":"User","site_admin":false},"labels":[{"id":197378049,"url":"https://api.github.com/repos/kokkos/kokkos/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"ibaned","id":971921,"avatar_url":"https://avatars2.githubusercontent.com/u/971921?v=4","gravatar_id":"","url":"https://api.github.com/users/ibaned","html_url":"https://github.com/ibaned","followers_url":"https://api.github.com/users/ibaned/followers","following_url":"https://api.github.com/users/ibaned/following{/other_user}","gists_url":"https://api.github.com/users/ibaned/gists{/gist_id}","starred_url":"https://api.github.com/users/ibaned/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibaned/subscriptions","organizations_url":"https://api.github.com/users/ibaned/orgs","repos_url":"https://api.github.com/users/ibaned/repos","events_url":"https://api.github.com/users/ibaned/events{/privacy}","received_events_url":"https://api.github.com/users/ibaned/received_events","type":"User","site_admin":false},"assignees":[{"login":"ibaned","id":971921,"avatar_url":"https://avatars2.githubusercontent.com/u/971921?v=4","gravatar_id":"","url":"https://api.github.com/users/ibaned","html_url":"https://github.com/ibaned","followers_url":"https://api.github.com/users/ibaned/followers","following_url":"https://api.github.com/users/ibaned/following{/other_user}","gists_url":"https://api.github.com/users/ibaned/gists{/gist_id}","starred_url":"https://api.github.com/users/ibaned/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibaned/subscriptions","organizations_url":"https://api.github.com/users/ibaned/orgs","repos_url":"https://api.github.com/users/ibaned/repos","events_url":"https://api.github.com/users/ibaned/events{/privacy}","received_events_url":"https://api.github.com/users/ibaned/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/kokkos/kokkos/milestones/18","html_url":"https://github.com/kokkos/kokkos/milestone/18","labels_url":"https://api.github.com/repos/kokkos/kokkos/milestones/18/labels","id":3188287,"number":18,"title":"2018 June","description":"Stuff to be done by mid-June","creator":{"login":"ibaned","id":971921,"avatar_url":"https://avatars2.githubusercontent.com/u/971921?v=4","gravatar_id":"","url":"https://api.github.com/users/ibaned","html_url":"https://github.com/ibaned","followers_url":"https://api.github.com/users/ibaned/followers","following_url":"https://api.github.com/users/ibaned/following{/other_user}","gists_url":"https://api.github.com/users/ibaned/gists{/gist_id}","starred_url":"https://api.github.com/users/ibaned/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibaned/subscriptions","organizations_url":"https://api.github.com/users/ibaned/orgs","repos_url":"https://api.github.com/users/ibaned/repos","events_url":"https://api.github.com/users/ibaned/events{/privacy}","received_events_url":"https://api.github.com/users/ibaned/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":1,"state":"open","created_at":"2018-03-14T19:14:02Z","updated_at":"2018-04-11T12:28:24Z","due_on":"2018-06-15T07:00:00Z","closed_at":null},"comments":3,"created_at":"2018-04-11T04:26:31Z","updated_at":"2018-04-11T15:40:52Z","closed_at":null,"author_association":"NONE","body":"As in the subject, I can't find this in the documentation. Can anyone provide an example? I know I can do DualView<int[1]> but that's kinda clumsy to be used as a scalar."},"comment":{"url":"https://api.github.com/repos/kokkos/kokkos/issues/comments/380498705","html_url":"https://github.com/kokkos/kokkos/issues/1552#issuecomment-380498705","issue_url":"https://api.github.com/repos/kokkos/kokkos/issues/1552","id":380498705,"user":{"login":"Char-Aznable","id":32589713,"avatar_url":"https://avatars1.githubusercontent.com/u/32589713?v=4","gravatar_id":"","url":"https://api.github.com/users/Char-Aznable","html_url":"https://github.com/Char-Aznable","followers_url":"https://api.github.com/users/Char-Aznable/followers","following_url":"https://api.github.com/users/Char-Aznable/following{/other_user}","gists_url":"https://api.github.com/users/Char-Aznable/gists{/gist_id}","starred_url":"https://api.github.com/users/Char-Aznable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Char-Aznable/subscriptions","organizations_url":"https://api.github.com/users/Char-Aznable/orgs","repos_url":"https://api.github.com/users/Char-Aznable/repos","events_url":"https://api.github.com/users/Char-Aznable/events{/privacy}","received_events_url":"https://api.github.com/users/Char-Aznable/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T15:40:52Z","updated_at":"2018-04-11T15:40:52Z","author_association":"NONE","body":"@stanmoore1 I didn't know I can call ```()``` without argument. I guess it's something like this?\r\n```\r\nDualView<int> a(\"a\");\r\na.h_view() = 1;\r\n```\r\n"}}
{"actor":{"display_login":"Char-Aznable"}}