{"type":"rich","version":"1.0","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","title":"smart_this","blog_title":"melpon\u65e5\u8a18 - Haskell\u3082C++\u3082\u307e\u3068\u3082\u306b\u6271\u3048\u306a\u3044\u3078\u305f\u308c\u306e\u30da\u30fc\u30b8","author_url":"https://blog.hatena.ne.jp/melpon/","description":"\u81ea\u5206\u306f\u3001\u307e\u3068\u3082\u306b\u30dd\u30a4\u30f3\u30bf\u3092\u6271\u3048\u306a\u3044\u3002 \u3060\u304b\u3089\u3044\u3064\u3082\u30dd\u30a4\u30f3\u30bf\u3092\u4f7f\u308f\u305a\u306b\u3001\u30b9\u30de\u30fc\u30c8\u30dd\u30a4\u30f3\u30bf\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3060\u3051\u308c\u3069\u3082\u3001\u30b9\u30de\u30fc\u30c8\u30dd\u30a4\u30f3\u30bf\u306b\u3082\u6b20\u70b9\u306f\u3042\u308b\u3002 class CApp{ public: static void add( Hoge* hoge ){ // hoge\u3092\u30ea\u30b9\u30c8\u306b\u8ffd\u52a0 } static void del( Hoge* hoge ){ // hoge\u3092\u30ea\u30b9\u30c8\u304b\u3089\u524a\u9664 } private: static list< Hoge* > _hogeList; }; class Hoge{ public: Hoge(){ CApp::add( this ); } ~Hoge(){ CApp::de\u2026","published":"2006-01-07 00:00:00","width":"100%","height":"190","image_url":null,"url":"https://melpon.hatenadiary.org/entry/20060107/p1","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmelpon.hatenadiary.org%2Fentry%2F20060107%2Fp1\" title=\"smart_this - melpon\u65e5\u8a18 - Haskell\u3082C++\u3082\u307e\u3068\u3082\u306b\u6271\u3048\u306a\u3044\u3078\u305f\u308c\u306e\u30da\u30fc\u30b8\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"melpon","blog_url":"https://melpon.hatenadiary.org/","categories":["program","C++"]}