{"height":"190","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F20080518%2Fp1\" title=\" new/delete - so what\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"so what","type":"rich","version":"1.0","provider_url":"https://hatena.blog","published":"2008-05-18 00:00:02","author_name":"winebarrel","provider_name":"Hatena Blog","categories":["C++"],"author_url":"https://blog.hatena.ne.jp/winebarrel/","title":" new/delete","blog_url":"https://so-wh.at/","description":"delete\u3057\u306a\u3044\u3068\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u7d42\u4e86\u3057\u3066\u3082\u30c7\u30b9\u30c8\u30e9\u30af\u30bf\u306f\u547c\u3070\u308c\u306a\u3044\u3001\u3068\u3002 #include <iostream> using namespace std; class Foo { private: int i; public: Foo() { cout << \"Foo()\\n\"; }; ~Foo() { cout << \"~Foo()\\n\"; }; }; int main() { Foo *p = new Foo; return 0; } Foo()","width":"100%","url":"https://so-wh.at/entry/20080518/p1"}