{"url":"https://futashika.hatenadiary.org/entry/20080910/1221076639","blog_url":"https://futashika.hatenadiary.org/","categories":[],"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/futashika/","image_url":null,"provider_name":"Hatena Blog","published":"2008-09-10 04:57:19","width":"100%","blog_title":"\u6628\u65e5\u3068\u4eca\u65e5\u3068\u305d\u308c\u304b\u3089\u660e\u65e5","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffutashika.hatenadiary.org%2Fentry%2F20080910%2F1221076639\" title=\"C++ \u3067 \u30c0\u30c3\u30af\u30fb\u30bf\u30a4\u30d4\u30f3\u30b0 - \u6628\u65e5\u3068\u4eca\u65e5\u3068\u305d\u308c\u304b\u3089\u660e\u65e5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"C++ \u3067 \u30c0\u30c3\u30af\u30fb\u30bf\u30a4\u30d4\u30f3\u30b0","height":"190","description":"C++ \u3067\u306f\u30e1\u30bd\u30c3\u30c9\u306e\u540d\u524d\u304c\u540c\u3058\u3067\u3082\u8fd4\u308a\u5024\u304c\u9055\u3046\u3068\u7d99\u627f\u6642\u306b\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3067\u304d\u306a\u3044\uff08\u5f53\u305f\u308a\u524d\u3060\u3051\u308c\u3069\uff09\uff0e\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u69d8\u306b\uff0c\u89aa\u5b50\u95a2\u4fc2\u306b\u3042\u308b\u4e8c\u3064\u306e\u30af\u30e9\u30b9\u3067\u305d\u308c\u305e\u308c\u306e\u914d\u5217\u3092\u4f5c\u308b\u3068\u3059\u308b\uff0e class BaseObj { ... }; class DerivObj : public BaseObj { ... }; class BaseArray { virtual BaseObj* Get(int index) { /* Get \u306e\u5b9f\u88c5 */ } }; class DerivArray : BaseArray { virtual DerivObj* Get(int index); /* \u4e0a\u306e\u5b9f\u88c5\u3092\u518d\u5229\u7528\u2026","type":"rich","author_name":"futashika"}