{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnishiohirokazu.hatenadiary.org%2Fentry%2F20080630%2F1214807207\" title=\"\u4ee3\u5165\u6f14\u7b97\u5b50\u3092\u5b9a\u7fa9\u3059\u308b\u3068\u304d\u306b\u306f\u300c\u5f15\u6570\u304c\u81ea\u5206\u81ea\u8eab\u300d\u3068\u3044\u3046\u7f60\u306b\u6ce8\u610f - \u897f\u5c3e\u6cf0\u548c\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","height":"190","description":"\u300c\u52c9\u5f37\u304c\u3066\u3089\u300d\u66f8\u3044\u305f\u30b3\u30fc\u30c9\u3092\u5b9f\u7528\u7684\u306a\u76ee\u7684\u306b\u4f7f\u304a\u3046\u3068\u3059\u308b\u4eba\u304c\u51fa\u308b\u3068\u306f\u601d\u308f\u306a\u304b\u3063\u305f\u306e\u3067\u6ce8\u610f\u66f8\u304d\u3092\u8db3\u3057\u3066\u304a\u3044\u305fshared_ptr\u3092\u4f5c\u308b\u306b\u3064\u3044\u3066\u3002\u5965\u3055\u3093\u3084\u5149\u6210\u3055\u3093\u306b\u6307\u6458\u3057\u3066\u3082\u3089\u3063\u305f\u5185\u5bb9\u3092\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u3053\u306e\u524d\u306e\u30b3\u30fc\u30c9\u306f\u3053\u3046\u3044\u3046\u4f7f\u3044\u65b9\u3092\u3059\u308b\u3068\u6b7b\u306b\u307e\u3059\u3002 int main(){ { SPM x(new MyValue(43)); cout << \"x = x\" << endl; x = x; } } ----- cstr with value43 x = x obj 43 refcount--, now: 0 dstr43 obj -1073741821 refcount++, now:\u2026","blog_url":"https://nishiohirokazu.hatenadiary.org/","image_url":null,"title":"\u4ee3\u5165\u6f14\u7b97\u5b50\u3092\u5b9a\u7fa9\u3059\u308b\u3068\u304d\u306b\u306f\u300c\u5f15\u6570\u304c\u81ea\u5206\u81ea\u8eab\u300d\u3068\u3044\u3046\u7f60\u306b\u6ce8\u610f","blog_title":"\u897f\u5c3e\u6cf0\u548c\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc","url":"https://nishiohirokazu.hatenadiary.org/entry/20080630/1214807207","author_url":"https://blog.hatena.ne.jp/nishiohirokazu/","published":"2008-06-30 15:26:47","categories":["cpp"],"version":"1.0","author_name":"nishiohirokazu","type":"rich","width":"100%","provider_url":"https://hatena.blog"}