{"author_url":"https://blog.hatena.ne.jp/Isoparametric/","provider_name":"Hatena Blog","height":"190","blog_title":"\u795e\u69d8\u306a\u3093\u3066\u4fe1\u3058\u306a\u3044\u50d5\u3089\u306e\u305f\u3081\u306b","categories":["c/c++"],"type":"rich","blog_url":"https://isoparametric.hatenablog.com/","description":"\u3068\u8a00\u308f\u308c\u305f\u3089\u3002 C++ code - 21 lines - codepad class Container { public: ~Container() { printf(\"Container::~Container()\\n\"); } }; class Hoge : protected Container { public: }; int main() { Hoge h; Hoge* hoge = new Hoge(); delete hoge; \u3044\u3063\u305f\u3044\u4f55\u306e\u8a71\u3067\u3059\u304b\uff1f \u3068\u3001\u3068\u307c\u3051\u307e\u3057\u3087\u3046\u3002","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fisoparametric.hatenablog.com%2Fentry%2F20091105%2F1257382016\" title=\"\u30c7\u30b9\u30c8\u30e9\u30af\u30bf\u304cvirtual\u3058\u3083\u306a\u3044\u30af\u30e9\u30b9\u3001\u4f8b\u3048\u3070vector\u306f\u7d99\u627f\u3057\u3061\u3083\u3060\u3081\u306a\u3093\u3060\u305e\u30fc\uff01 - \u795e\u69d8\u306a\u3093\u3066\u4fe1\u3058\u306a\u3044\u50d5\u3089\u306e\u305f\u3081\u306b\" 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":"Isoparametric","width":"100%","published":"2009-11-05 09:46:56","url":"https://isoparametric.hatenablog.com/entry/20091105/1257382016","title":"\u30c7\u30b9\u30c8\u30e9\u30af\u30bf\u304cvirtual\u3058\u3083\u306a\u3044\u30af\u30e9\u30b9\u3001\u4f8b\u3048\u3070vector\u306f\u7d99\u627f\u3057\u3061\u3083\u3060\u3081\u306a\u3093\u3060\u305e\u30fc\uff01","image_url":null,"provider_url":"https://hatena.blog","version":"1.0"}