{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fharu-s.hatenablog.com%2Fentry%2F20090121%2F1232558175\" title=\"C++\u3067\u306f\u3067\u304d\u306a\u304f\u3066D\u306a\u3089\u3067\u304d\u308b\u3053\u3068\u30b7\u30ea\u30fc\u30ba - \u30e1\u30f3\u30d0\u95a2\u6570\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u90e8\u5206\u7279\u6b8a\u5316 - ...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>","author_name":"haru-s","title":"C++\u3067\u306f\u3067\u304d\u306a\u304f\u3066D\u306a\u3089\u3067\u304d\u308b\u3053\u3068\u30b7\u30ea\u30fc\u30ba - \u30e1\u30f3\u30d0\u95a2\u6570\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u90e8\u5206\u7279\u6b8a\u5316","blog_title":"...ing logging 4.0","image_url":null,"width":"100%","published":"2009-01-21 02:16:15","description":"import std.stdio; class A { void f(T,U)(T t, U dummy) { writefln(t, \": call with sometype.\"); } void f(T:int,U)(T t, U dummy) { writefln(t,\": call with int.\"); } } void main() { A a = new A; a.f(\"hoge\", 0); a.f(1, 0); } hoge: call with sometype. 1: call with int. \u7d20\u76f4\u306b\u66f8\u304f\u3060\u3051\uff0e","author_url":"https://blog.hatena.ne.jp/haru-s/","type":"rich","height":"190","provider_name":"Hatena Blog","url":"https://haru-s.hatenablog.com/entry/20090121/1232558175","provider_url":"https://hatena.blog","version":"1.0","categories":["D\u8a00\u8a9e","C++"],"blog_url":"https://haru-s.hatenablog.com/"}