{"id":10527,"date":"2019-12-26T09:04:56","date_gmt":"2019-12-26T09:04:56","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=10527"},"modified":"2019-12-26T09:04:56","modified_gmt":"2019-12-26T09:04:56","slug":"qt-c-smartpointer","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=10527","title":{"rendered":"Qt\/C++ SmartPointer"},"content":{"rendered":"<p><a href=\"https:\/\/www.slideshare.net\/sermp\/mikhail-matrosov-c-without-new-and-delete-russian-c-confe%20rence-2015-v15-45522731\">\u0421++ without new and delete<\/a>, 2015<br \/>\n<a href=\"https:\/\/www.grimm-jaud.de\/index.php\/blog\/std-shared-ptr\">std::shared_ptr<\/a>, 2016<br \/>\n<a href=\"https:\/\/medium.com\/pranayaggarwal25\/a-tale-of-two-allocations-f61aa0bf71fc\">A tale of two allocations : make_shared and shared_ptr<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/18301511\/stdshared-ptr-initialization-make-sharedfoo-vs-shared-ptrtnew-foo\">std::shared_ptr initialization: make_shared<Foo>() vs shared_ptr<T>(new Foo)<\/a><\/p>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/26295238\/qtmake-shared-for-creating-qsharedptr-as-stdmake-shared-for-creating-stdsh\">Qt::make_shared for creating QSharedPtr as std::make_shared for creating std::shared_ptr<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0421++ without new and delete, 2015 std::shared_ptr, 2016 A tale of two allocations : make_shared and shared_ptr std::shared_ptr initialization: make_shared() vs shared_ptr(new Foo) Qt::make_shared for creating QSharedPtr as std::make_shared for creating std::shared_ptr<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10527","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10527","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10527"}],"version-history":[{"count":1,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10527\/revisions"}],"predecessor-version":[{"id":10528,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10527\/revisions\/10528"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}