{"action":"created","issue":{"url":"https://api.github.com/repos/msharov/ustl/issues/54","repository_url":"https://api.github.com/repos/msharov/ustl","labels_url":"https://api.github.com/repos/msharov/ustl/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/msharov/ustl/issues/54/comments","events_url":"https://api.github.com/repos/msharov/ustl/issues/54/events","html_url":"https://github.com/msharov/ustl/issues/54","id":146422626,"number":54,"title":"missing functionality in unique_ptr/shared_ptr","user":{"login":"goniz","id":976803,"avatar_url":"https://avatars.githubusercontent.com/u/976803?v=3","gravatar_id":"","url":"https://api.github.com/users/goniz","html_url":"https://github.com/goniz","followers_url":"https://api.github.com/users/goniz/followers","following_url":"https://api.github.com/users/goniz/following{/other_user}","gists_url":"https://api.github.com/users/goniz/gists{/gist_id}","starred_url":"https://api.github.com/users/goniz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goniz/subscriptions","organizations_url":"https://api.github.com/users/goniz/orgs","repos_url":"https://api.github.com/users/goniz/repos","events_url":"https://api.github.com/users/goniz/events{/privacy}","received_events_url":"https://api.github.com/users/goniz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/msharov/ustl/labels/rejected","name":"rejected","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-06T20:23:01Z","updated_at":"2016-04-08T13:43:32Z","closed_at":"2016-04-06T21:19:28Z","body":"Hi\r\n\r\nI am missing the deleter options for the smart pointers you provide.\r\nReal world applications requires both unique_ptr and shared_ptr to implement deleter functionality to actually work.\r\nhaving deleters will allow you to add unique_ptr\\<T\\>(unique_ptr\\<U\\>&&) constructor + dynamic_pointer_cast/static_pointer_cast/etc..\r\n\r\nIt is way harder to actually use ustl with complex code using smart pointers.\r\n\r\nI'm also missing the operator==(nullptr_t, *_ptr\\<T\\>) functions..\r\n\r\nThank you! \r\n"},"comment":{"url":"https://api.github.com/repos/msharov/ustl/issues/comments/207437659","html_url":"https://github.com/msharov/ustl/issues/54#issuecomment-207437659","issue_url":"https://api.github.com/repos/msharov/ustl/issues/54","id":207437659,"user":{"login":"msharov","id":3843835,"avatar_url":"https://avatars.githubusercontent.com/u/3843835?v=3","gravatar_id":"","url":"https://api.github.com/users/msharov","html_url":"https://github.com/msharov","followers_url":"https://api.github.com/users/msharov/followers","following_url":"https://api.github.com/users/msharov/following{/other_user}","gists_url":"https://api.github.com/users/msharov/gists{/gist_id}","starred_url":"https://api.github.com/users/msharov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msharov/subscriptions","organizations_url":"https://api.github.com/users/msharov/orgs","repos_url":"https://api.github.com/users/msharov/repos","events_url":"https://api.github.com/users/msharov/events{/privacy}","received_events_url":"https://api.github.com/users/msharov/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T13:43:32Z","updated_at":"2016-04-08T13:43:32Z","body":"Commit 8d65b14de61606315bb0f3f41eae1a4b47fc8eda adds unique_resource template, which can be used to implement your custom deleter scenario."}}