{"provider_name":"Hatena Blog","image_url":"https://cdn-ak.d.st-hatena.com/diary/yaneurao/2004-11-03.png","version":"1.0","categories":["programming","yaneudoujou"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyaneurao.hatenadiary.com%2Fentry%2F20041103%2Fp1\" title=\" Part 4.\u5909\u6570\u306e\u5b9a\u7fa9\u57df(4) - \u3084\u306d\u3046\u3089\u304a\u30d6\u30ed\u30b0(\u79fb\u8ee2\u3057\u307e\u3057\u305f)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","url":"https://yaneurao.hatenadiary.com/entry/20041103/p1","width":"100%","blog_url":"https://yaneurao.hatenadiary.com/","author_name":"yaneurao","published":"2004-11-03 00:00:00","author_url":"https://blog.hatena.ne.jp/yaneurao/","blog_title":"\u3084\u306d\u3046\u3089\u304a\u30d6\u30ed\u30b0(\u79fb\u8ee2\u3057\u307e\u3057\u305f)","title":" Part 4.\u5909\u6570\u306e\u5b9a\u7fa9\u57df(4)","height":"190","description":"\u524d\u56de\u3001\u30eb\u30fc\u30d7\u306e\u6761\u4ef6\u306f\u5f8c\u5224\u5b9a\u306b\u306a\u308b\u3053\u3068\u304c\u591a\u3044\u3068\u3044\u3046\u3053\u3068\u306b\u3064\u3044\u3066\u66f8\u3044\u305f\u3002 \u3044\u307e\u3001\u6b21\u306e\u5217\u6319\u4f53\u306b\u3064\u3044\u3066\u8003\u3048\u3066\u307f\u3088\u3046\u3002enum A { x,y,z };\u5217\u6319\u4f53A\u3059\u3079\u3066\u306e\u8981\u7d20\u306b\u5bfe\u3057\u3066\u4f55\u3089\u304b\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u884c\u306a\u3044\u305f\u3044\u3068\u3059\u308b\u3002foreach\u69cb\u6587\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308c\u3070\u826f\u3044\u306e\u3060\u304c\u3001\u4e0d\u904b\u306b\u3082\u3044\u307e\u5bfe\u8c61\u3068\u3057\u3066\u3044\u308b\u8a00\u8a9e\u306b\u306f\u7121\u3044\u3068\u3057\u3088\u3046\u3002\u3057\u304b\u3057\u3001\u6700\u521d\u3068\u6700\u5f8c\u306e\u8981\u7d20\u306b\u95a2\u3057\u3066\u306f\u3001A.begin , A.end \u3068\u3044\u3046\u3088\u3046\u306a alias \u304c\u4f7f\u3048\u308b\u3068\u4eee\u5b9a\u3057\u3088\u3046\u3002\u3053\u306e\u5834\u5408\u3001\u6b21\u306e\u3088\u3046\u306b\u524d\u5224\u5b9a\u3067\u66f8\u304f\u5fc5\u8981\u304c\u3042\u308b\u3002 A a = A.begin; do { do_something(); } while (a != A.end && ++a)\u975e\u5e38\u306b\u2026","type":"rich"}