{"published":"2009-08-08 21:58:37","provider_name":"Hatena Blog","type":"rich","width":"100%","blog_url":"https://sle.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsle.hatenadiary.org%2Fentry%2F20090808%2F1249736317\" title=\"\u8cc7\u6e90\u7ba1\u7406 - \u8db3\u8de145(ashiato45)\u306e\u65e5\u8a18(\u65e7\u30d6\u30ed\u30b0)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u8cc7\u6e90\u7ba1\u7406","author_name":"sle","image_url":null,"categories":["c++"],"provider_url":"https://hatena.blog","blog_title":"\u8db3\u8de145(ashiato45)\u306e\u65e5\u8a18(\u65e7\u30d6\u30ed\u30b0)","author_url":"https://blog.hatena.ne.jp/sle/","version":"1.0","height":"190","url":"https://sle.hatenadiary.org/entry/20090808/1249736317","description":"#include <memory> #include <iostream> using namespace std; class A{ private: int n; public: A(int n_); ~A(); void f(); }; A::A(int n_): n(n_){ cout << \"class A whose value is \" << n << \" has been created.\" << endl; } A::~A(){ cout << \"class A whose value is \" << n << \" has been destroyed.\" << endl; \u2026"}