{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fharu-s.hatenablog.com%2Fentry%2F20071004%2F1191510782\" title=\" std.bind for D2.0 (4) - ...ing logging 4.0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"...ing logging 4.0","author_url":"https://blog.hatena.ne.jp/haru-s/","version":"1.0","published":"2007-10-04 00:13:02","description":"\u52d5\u304b\u306a\u3044\u30d1\u30bf\u30fc\u30f3\u3092\u898b\u3064\u3051\u3066\u3057\u307e\u3063\u305f\uff0e import std.bind, std.stdio; void main() { int foo(int i) {return i*2;} int bar(int i) {return i*3;} auto fooBar = bind(&foo, bind(&bar, _0)); //\u3053\u308c\u306a\u3089\u52d5\u304f\u304c //auto fooFooBar = bindAlias!(foo)(bind(fooBar.ptr, _0)); //\u3053\u3046\u3059\u308b\u3068\u52d5\u304b\u306a\u3044 auto fooFooBar = bindAlias!(foo)(bindAlias!(fooBar)(_0)); w\u2026","image_url":null,"type":"rich","provider_url":"https://hatena.blog","categories":["D\u8a00\u8a9e"],"url":"https://haru-s.hatenablog.com/entry/20071004/1191510782","height":"190","blog_url":"https://haru-s.hatenablog.com/","provider_name":"Hatena Blog","title":" std.bind for D2.0 (4)","author_name":"haru-s","width":"100%"}