{"provider_name":"Hatena Blog","author_name":"winebarrel","type":"rich","url":"https://so-wh.at/entry/20080526/p1","published":"2008-05-26 00:00:11","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F20080526%2Fp1\" title=\" \u4eee\u60f3\u95a2\u6570 - 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>","provider_url":"https://hatena.blog","description":"virtual\u3092\u3064\u3051\u306a\u3044\u3068\u30aa\u30fc\u30d0\u30e9\u30a4\u30c9\u3055\u308c\u306a\u3044\u3001\u3068\u3002 #include <iostream> using namespace std; class Foo { public: void func() { cout << \"Foo::func()\" << endl; } virtual void vfunc() { cout << \"Foo::vfunc()\" << endl; } }; class Bar : public Foo { public: void func() { cout << \"Bar::func()\" << endl; } void vfunc() { cout << \"B\u2026","height":"190","author_url":"https://blog.hatena.ne.jp/winebarrel/","categories":["C++"],"version":"1.0","blog_title":"so what","title":" \u4eee\u60f3\u95a2\u6570","blog_url":"https://so-wh.at/","width":"100%","image_url":null}