{"author_name":"winebarrel","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F20081223%2Fp1\" title=\" bind\u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b - so what\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["C++"],"url":"https://so-wh.at/entry/20081223/p1","image_url":null,"provider_name":"Hatena Blog","provider_url":"https://hatena.blog","published":"2008-12-23 00:00:00","author_url":"https://blog.hatena.ne.jp/winebarrel/","width":"100%","description":"\u610f\u5916\u3068\u308f\u304b\u308a\u3084\u3059\u3044\u2026\u3068\u601d\u3046\u3093\u3060\u3051\u3069\u3002 #include <iostream> using namespace std; template <class R, class A> class Function { R (*f_)(A); A x_; public: Function(R (*f)(A), A x) : f_(f), x_(x) {} R operator() () { return f_(x_); } }; template <class R, class A> Function<R, A> bind(R (*f)(A), A x) { return Function<R, A>(\u2026","blog_title":"so what","height":"190","version":"1.0","type":"rich","blog_url":"https://so-wh.at/","title":" bind\u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b"}