{"action":"opened","issue":{"url":"https://api.github.com/repos/thrust/thrust/issues/662","labels_url":"https://api.github.com/repos/thrust/thrust/issues/662/labels{/name}","comments_url":"https://api.github.com/repos/thrust/thrust/issues/662/comments","events_url":"https://api.github.com/repos/thrust/thrust/issues/662/events","html_url":"https://github.com/thrust/thrust/issues/662","id":67506765,"number":662,"title":"Consider operator bool for thrust::pointer","user":{"login":"jaredhoberock","id":1253007,"avatar_url":"https://avatars.githubusercontent.com/u/1253007?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredhoberock","html_url":"https://github.com/jaredhoberock","followers_url":"https://api.github.com/users/jaredhoberock/followers","following_url":"https://api.github.com/users/jaredhoberock/following{/other_user}","gists_url":"https://api.github.com/users/jaredhoberock/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredhoberock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredhoberock/subscriptions","organizations_url":"https://api.github.com/users/jaredhoberock/orgs","repos_url":"https://api.github.com/users/jaredhoberock/repos","events_url":"https://api.github.com/users/jaredhoberock/events{/privacy}","received_events_url":"https://api.github.com/users/jaredhoberock/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thrust/thrust/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/thrust/thrust/milestones/5","html_url":"https://github.com/thrust/thrust/milestones/Release1.9","labels_url":"https://api.github.com/repos/thrust/thrust/milestones/5/labels","id":876424,"number":5,"title":"Release1.9","description":null,"creator":{"login":"jaredhoberock","id":1253007,"avatar_url":"https://avatars.githubusercontent.com/u/1253007?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredhoberock","html_url":"https://github.com/jaredhoberock","followers_url":"https://api.github.com/users/jaredhoberock/followers","following_url":"https://api.github.com/users/jaredhoberock/following{/other_user}","gists_url":"https://api.github.com/users/jaredhoberock/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredhoberock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredhoberock/subscriptions","organizations_url":"https://api.github.com/users/jaredhoberock/orgs","repos_url":"https://api.github.com/users/jaredhoberock/repos","events_url":"https://api.github.com/users/jaredhoberock/events{/privacy}","received_events_url":"https://api.github.com/users/jaredhoberock/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":9,"state":"open","created_at":"2014-11-21T22:32:25Z","updated_at":"2015-04-10T04:29:18Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-04-10T04:29:17Z","updated_at":"2015-04-10T04:29:17Z","closed_at":null,"body":"`unique_ptr` & `shared_ptr` both have `explicit operator bool const ()` functions.\r\n\r\nUse case mentioned here: http://stackoverflow.com/questions/29536854/cuda-thrust-checking-for-null-pointers"}}