{"blog_url":"https://faithandbrave.hateblo.jp/","blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","title":"\u30ea\u30a2\u30af\u30c6\u30a3\u30d6\u30b7\u30fc\u30b1\u30f3\u30b9\u306e\u30d5\u30a3\u30eb\u30bf","author_name":"faith_and_brave","type":"rich","version":"1.0","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/faith_and_brave/","provider_name":"Hatena Blog","published":"2014-01-16 17:04:22","categories":["C++"],"image_url":null,"height":"190","description":"\u5148\u65e5\u306e\u30ea\u30a2\u30af\u30c6\u30a3\u30d6\u30b7\u30fc\u30b1\u30f3\u30b9\u306b\u3001filter()\u30e1\u30f3\u30d0\u95a2\u6570\u3092\u8ffd\u52a0\u3057\u3066\u307f\u307e\u3057\u305f\u3002(map()\u306f\u96e3\u3057\u3044\u306e\u3067\u3084\u3081\u307e\u3057\u305f) #include <iostream> #include <functional> template <class T> class reactive_sequence { std::function<void(T)> f_; std::function<bool(T)> filterf_; public: template <class F> void foreach(F f) { f_ = f; } template <class Pred> reactive_sequenc\u2026","url":"https://faithandbrave.hateblo.jp/entry/2014/01/16/170422","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F2014%2F01%2F16%2F170422\" title=\"\u30ea\u30a2\u30af\u30c6\u30a3\u30d6\u30b7\u30fc\u30b1\u30f3\u30b9\u306e\u30d5\u30a3\u30eb\u30bf - Faith and Brave - C++\u3067\u904a\u307c\u3046\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}