{"published":"2012-09-21 00:00:00","author_url":"https://blog.hatena.ne.jp/yohhoy/","description":"C++11\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u3068Boost.Smart_Pointers\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u305d\u308c\u305e\u308c\u63d0\u4f9b\u3055\u308c\u308b\u5171\u6709\u30dd\u30a4\u30f3\u30bfshared_ptr\u30af\u30e9\u30b9\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u76f8\u4e92\u904b\u7528\u306b\u95a2\u3059\u308b\u30e1\u30e2\u3002\u672c\u8a18\u4e8b\u306e\u5185\u5bb9\u306fStack Overflow\u3067\u898b\u3064\u3051\u305f\u8cea\u554f\u3068\u56de\u7b54\u5185\u5bb9\u306b\u57fa\u3065\u304f\u3002\u6ce8\u610f\uff1a\u3042\u304f\u307e\u3067 \u201c\u6280\u8853\u7684\u306b\u76f8\u4e92\u904b\u7528\u304c\u53ef\u80fd\u3067\u3042\u308b\u3053\u3068\u201d \u3092\u793a\u3059\u3060\u3051\u3067\u3001\u5b9f\u884c\u6642\u52b9\u7387\u3084\u4fdd\u5b88\u6027\u306e\u89b3\u70b9\u304b\u3089\u306f\u7247\u65b9\u3067\u7d71\u4e00\u3059\u308b\u306e\u304c\u671b\u307e\u3057\u3044\u3002 #include <memory> #include <boost/shared_ptr.hpp> // boost::shared_ptr \u2192 std::shared_ptr template<typename T> boo\u2026","categories":["C++","Boost"],"url":"https://yohhoy.hatenadiary.jp/entry/20120921/p1","height":"190","title":"shared_ptr\u76f8\u4e92\u4e57\u308a\u5165\u308c","blog_title":"yohhoy\u306e\u65e5\u8a18","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20120921%2Fp1\" title=\"shared_ptr\u76f8\u4e92\u4e57\u308a\u5165\u308c - yohhoy\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","width":"100%","version":"1.0","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_url":"https://yohhoy.hatenadiary.jp/","image_url":null,"author_name":"yohhoy"}