{"provider_name":"Hatena Blog","provider_url":"https://hatena.blog","title":"Effective C++\u52c9\u5f37\u30e1\u30e2: Item 9\u3000virtual\u95a2\u6570\u3092\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fb\u30c7\u30b9\u30c8\u30e9\u30af\u30bf\u304b\u3089\u547c\u3076\u306a","image_url":null,"author_name":"zehnpaard","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2018%2F03%2F09%2F094555\" title=\"Effective C++\u52c9\u5f37\u30e1\u30e2: Item 9\u3000virtual\u95a2\u6570\u3092\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fb\u30c7\u30b9\u30c8\u30e9\u30af\u30bf\u304b\u3089\u547c\u3076\u306a - Arantium Maestum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["C++","Effective C++"],"version":"1.0","blog_url":"https://zehnpaard.hatenablog.com/","width":"100%","url":"https://zehnpaard.hatenablog.com/entry/2018/03/09/094555","author_url":"https://blog.hatena.ne.jp/zehnpaard/","type":"rich","published":"2018-03-09 09:45:55","description":"C++\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306f\u3001\u307e\u305a\u6700\u4e0b\u5c64\u306e\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u306e\u3082\u306e\u304c\u547c\u3073\u51fa\u3055\u308c\u3066\u3001\u9806\u6b21\u521d\u671f\u5316\u3055\u308c\u3066\u3044\u3063\u3066\u6700\u7d42\u7684\u306b\u5b9f\u969b\u306b\u4f5c\u6210\u3055\u308c\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u51e6\u7406\u304c\u8d70\u308b\u3001\u3068\u3044\u3046\u6d41\u308c\u306b\u306a\u308b\u3002 class A { public: A(); virtual void init(); }; A::A() { init(); } class B : public A { public: void init(); }; class C : public B { public: void init(); }; int main() { C c; return 0; } \u306a\u3069\u3068\u3044\u3063\u305f\u30b3\u30fc\u30c9\u306e\u5834\u5408\u3001C\u30af\u30e9\u30b9\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u2026","blog_title":"Arantium Maestum","height":"190"}