{"type":"rich","provider_url":"https://hatena.blog","description":"Visitor\u30d1\u30bf\u30fc\u30f3\u3092C++\u3067\u7d44\u3082\u3046\u3068\u3057\u3066\u3001 void AcceptorEx::accept( smart_ptr< Visitor > v ){ v->visit( smart_ptr< Acceptor >( this ) ); } \u3048\u3048\u3001\u5931\u6557\u3057\u307e\u3057\u305f\uff08;\u00b4\u0414\uff40\uff09 \u30b9\u30de\u30fc\u30c8\u30dd\u30a4\u30f3\u30bf\u306bthis\u3092\u6e21\u3057\u305f\u6642\u70b9\u3067\u53c2\u7167\u30ab\u30a6\u30f3\u30c8\u306f\uff11\u3002 \u3093\u3067\u30b3\u30d4\u30fc\u3057\u3066visit\u306e\u4e2d\u306b\u5165\u3063\u3066\u3044\u308b\u6642\u70b9\u3067\u306f\uff12\u3002 visit\u3092\u629c\u3051\u308b\u3068\uff11\u3002 \u3067\u3001accept\u3092\u629c\u3051\u308b\u3068\uff10\u306b\u306a\u308a\u3001this\u304c\u89e3\u653e\u3055\u308c\u307e\u3059\uff08;\u00b4\u0414\uff40\uff09 \u3067\u3082\u3001\u81ea\u5206\u81ea\u8eab\u306e\u30b9\u30de\u30fc\u30c8\u30dd\u30a4\u30f3\u30bf\u3063\u3066\u3069\u3046\u3084\u3063\u3066\u6e21\u3059\u3093\u3060\u308d\u3046\u3002 \u3053\u3093\u306a\u611f\u3058\u304b\u306a\uff1f class Hoge{ public\u2026","blog_title":"melpon\u65e5\u8a18 - Haskell\u3082C++\u3082\u307e\u3068\u3082\u306b\u6271\u3048\u306a\u3044\u3078\u305f\u308c\u306e\u30da\u30fc\u30b8","url":"https://melpon.hatenadiary.org/entry/20050801/p1","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmelpon.hatenadiary.org%2Fentry%2F20050801%2Fp1\" title=\"\u30b9\u30de\u30fc\u30c8\u30dd\u30a4\u30f3\u30bf - melpon\u65e5\u8a18 - Haskell\u3082C++\u3082\u307e\u3068\u3082\u306b\u6271\u3048\u306a\u3044\u3078\u305f\u308c\u306e\u30da\u30fc\u30b8\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u30b9\u30de\u30fc\u30c8\u30dd\u30a4\u30f3\u30bf","width":"100%","published":"2005-08-01 00:00:00","version":"1.0","blog_url":"https://melpon.hatenadiary.org/","image_url":null,"author_name":"melpon","height":"190","categories":["program","C++"],"author_url":"https://blog.hatena.ne.jp/melpon/","provider_name":"Hatena Blog"}