{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.little-cuckoo.jp%2Fentry%2F20060329%2F1143601577\" title=\"std::count \u521d\u3081\u3066\u4f7f\u3063\u305f - \u9591\u53e4\u9ce5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/wata_d/","provider_url":"https://hatena.blog","url":"https://www.little-cuckoo.jp/entry/20060329/1143601577","width":"100%","image_url":null,"categories":["C++","programming"],"author_name":"wata_d","title":"std::count \u521d\u3081\u3066\u4f7f\u3063\u305f","published":"2006-03-29 12:06:17","blog_title":"\u9591\u53e4\u9ce5","description":"\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306e\u30c1\u30a7\u30c3\u30af\u72b6\u614b\u3092 bool \u306e\u914d\u5217\u3067\u7ba1\u7406\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u4e2d\u3067\u30c1\u30a7\u30c3\u30af\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u304c\u3044\u304f\u3064\u3042\u308b\u306e\u304b\u3092\u8abf\u3079\u308b\u306e\u306b\u4f7f\u3063\u305f\u308a\u3068\u304b\u3002 bool bCheck[20]; // ... size_t nCount = std::count(bCheck, bCheck + 20, true); \u3042\u3093\u307e\u308a\u51fa\u756a\u306a\u3055\u305d\u3046\u3068\u304b\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u3042\u308b\u3068\u7d50\u69cb\u4fbf\u5229\u3067\u3059\u306d\u3002","provider_name":"Hatena Blog","version":"1.0","height":"190","type":"rich","blog_url":"https://www.little-cuckoo.jp/"}