{"author_name":"bleis-tift","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbleis-tift.hatenablog.com%2Fentry%2F20090722%2F1248255877\" title=\"C++ \u306e struct \u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 public \u7d99\u627f - \u3050\u308b\u3050\u308b\uff5e\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://bleis-tift.hatenablog.com/","provider_url":"https://hatena.blog","categories":["C++"],"title":"C++ \u306e struct \u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 public \u7d99\u627f","blog_title":"\u3050\u308b\u3050\u308b\uff5e","image_url":null,"version":"1.0","description":"\u3063\u3066\u3001\u6848\u5916\u77e5\u3089\u308c\u3066\u306a\u3044\u307f\u305f\u3044\u3067\u3059\u306d\u3002 \u3069\u3046\u3044\u3046\u3053\u3068\u304b\u3068\u8a00\u3046\u3068\u3001 #include <iostream> int main() { class hoge { public: void f() { std::cout << \"hoge\" << std::endl; } }; // class ex_hoge : hoge {};\u3060\u3068\u3001eh.f()\u3067\u30a8\u30e9\u30fc struct ex_hoge : hoge {}; ex_hoge eh; eh.f(); } \u3053\u308c\u304c\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u304d\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002 \u307e\u3041\u3001\u3042\u307e\u308a\u77e5\u3089\u308c\u3066\u3044\u306a\u3044\u3068\u8a00\u3046\u3053\u3068\u3067\u3001 struct ex_hoge : public hoge {}; \u2026","width":"100%","height":"190","url":"https://bleis-tift.hatenablog.com/entry/20090722/1248255877","type":"rich","author_url":"https://blog.hatena.ne.jp/bleis-tift/","published":"2009-07-22 18:44:37"}