{"author_url":"https://blog.hatena.ne.jp/Isoparametric/","blog_url":"https://isoparametric.hatenablog.com/","type":"rich","categories":["c/c++"],"published":"2007-06-04 16:42:07","height":"190","version":"1.0","provider_url":"https://hatena.blog","description":"\u9069\u5f53\u306b\u66f8\u3044\u305f\u3089\u30ab\u30aa\u30b9\u3002 \u6614\u3001Iterator\u306b\u3059\u3054\u304f\u82e6\u624b\u610f\u8b58\u304c\u3042\u3063\u305f\u3002 C++\u3060\u3068\u3001Iterator\u3092\u4f7f\u3063\u305f\u5834\u5408\u3001 for (list<Hoge>::iterator it = hoges.begin(); it != hoge.end(); ++it) { (*it)->hogehoge(); } \u306a\u3069\u3068\u66f8\u304b\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002\uff08\u3082\u3061\u308d\u3093\u7c21\u7565\u3057\u305f\u5f62\u3082\u3042\u308b\u3051\u3069\uff09 \u3053\u308c\u304c\u3044\u304b\u306b\u3082\u300c\u5c0f\u96e3\u3057\u3044\u300d\u3068\u611f\u3058\u308b\u306e\u306f\u50d5\u3060\u3051\u3067\u306f\u306a\u3044\u3068\u601d\u3046\u3002\u7279\u306bC\u304b\u3089\u5165\u3063\u305f\u4eba\u9593\u306b\u3068\u3063\u3066\u3001 for (Hoge* hoge = hogeListHead; hoge ; hoge = hoge->next ) { hoge->hogeh\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fisoparametric.hatenablog.com%2Fentry%2F20070604%2F1180942927\" title=\"Iterator\u3063\u3066\u96e3\u3057\u3044\u2026\u2026\u3002 - \u795e\u69d8\u306a\u3093\u3066\u4fe1\u3058\u306a\u3044\u50d5\u3089\u306e\u305f\u3081\u306b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","provider_name":"Hatena Blog","url":"https://isoparametric.hatenablog.com/entry/20070604/1180942927","author_name":"Isoparametric","title":"Iterator\u3063\u3066\u96e3\u3057\u3044\u2026\u2026\u3002","image_url":null,"blog_title":"\u795e\u69d8\u306a\u3093\u3066\u4fe1\u3058\u306a\u3044\u50d5\u3089\u306e\u305f\u3081\u306b"}