{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20231212%2Fp1\" title=\"\u7570\u7a2e\u30af\u30e9\u30b9\u540c\u540d\u30e1\u30f3\u30d0\u95a2\u6570\u306e\u500b\u5225\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9 - yohhoy\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","author_name":"yohhoy","blog_title":"yohhoy\u306e\u65e5\u8a18","image_url":null,"published":"2023-12-12 00:00:00","height":"190","blog_url":"https://yohhoy.hatenadiary.jp/","version":"1.0","author_url":"https://blog.hatena.ne.jp/yohhoy/","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9eC++\u306b\u304a\u3044\u3066\u3001\u7570\u306a\u308b\u57fa\u5e95\u30af\u30e9\u30b9\u306b\u5c5e\u3059\u308b\u540c\u540d\u30e1\u30f3\u30d0\u95a2\u6570*1\u3092\u500b\u5225\u306b\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3059\u308b\u65b9\u6cd5\u3002 // \u540c\u540d\u30e1\u30f3\u30d0\u95a2\u6570\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u30dd\u30a4\u30f3\u30c8\u3068\u3057\u3066\u63d0\u4f9b\u3059\u308b // \u4e92\u3044\u306b\u7121\u95a2\u4fc2\u306a\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u30af\u30e9\u30b9 struct Interface1 { virtual void process() = 0; }; struct Interface2 { virtual void process() = 0; }; // \u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u5b9f\u88c5\u30af\u30e9\u30b9 struct Derived: Interface1, Interface2 { void process() override { /*...*/ } \u2026","categories":["C++"],"provider_url":"https://hatena.blog","title":"\u7570\u7a2e\u30af\u30e9\u30b9\u540c\u540d\u30e1\u30f3\u30d0\u95a2\u6570\u306e\u500b\u5225\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9","width":"100%","url":"https://yohhoy.hatenadiary.jp/entry/20231212/p1","provider_name":"Hatena Blog"}