{"provider_url":"https://hatena.blog","categories":["c++","programming"],"blog_title":"\u8db3\u8de145(ashiato45)\u306e\u65e5\u8a18(\u65e7\u30d6\u30ed\u30b0)","version":"1.0","height":"190","type":"rich","author_name":"sle","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsle.hatenadiary.org%2Fentry%2F20090505%2F1241511785\" title=\"\u521d\u671f\u5316\u5b50 - \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>","author_url":"https://blog.hatena.ne.jp/sle/","url":"https://sle.hatenadiary.org/entry/20090505/1241511785","description":"\u521d\u671f\u5316\u5b50\u304c\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30de\u306b\u306a\u308b\u524d\u306b\u899a\u3048\u3066\u304a\u304d\u305f\u3044\u6280\u8853\u306e\u4e2d\u3067\u51fa\u3066\u304d\u305f\u306e\u3067\u5fa9\u7fd2\u3057\u3066\u305f\u3002\u30d7\u30ed\u30b0\u30e9\u30e0\uff1a #include <iostream> using namespace std; class CTestA{ private: int m_a; public: CTestA(int a_): m_a(a_){ cout << \"TestA:\" << a_ << endl; } void put(){ cout << m_a << endl; } }; class CTestB{ private: CTestA *pm_a; public: CTestB(int b_): pm_a(new CTe\u2026","width":"100%","blog_url":"https://sle.hatenadiary.org/","published":"2009-05-05 17:23:05","image_url":null,"provider_name":"Hatena Blog","title":"\u521d\u671f\u5316\u5b50"}