{"version":"1.0","author_url":"https://blog.hatena.ne.jp/nazodane/","published":"2006-12-14 22:29:32","categories":["D\u8a00\u8a9e"],"author_name":"nazodane","url":"https://nazodane.hatenadiary.org/entry/20061214/1166102972","width":"100%","image_url":null,"title":" alias\u306e\u3053\u3046\u3057\u3066\u307b\u3057\u3044\u306a\u3068\u3044\u3046\u30e1\u30e2","provider_url":"https://hatena.blog","type":"rich","blog_title":"\u8b0e's \u30ad\u30c3\u30c1\u30f3","description":"fork\u3057\u305f\u3044\u3051\u3069\u6280\u8853\u304c\u7121\u3044\u306e\u3067\u30df\u30ea\u3002\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u3084\u308b\u4e88\u5b9a\u3002\u4ee5\u4e0b\u30e1\u30e2\u3002 \u5358\u6570\u30bf\u30d7\u30eb(alias) alias\u3092\u5358\u6570\u30bf\u30d7\u30eb\u306e\u578b\u306b\u3059\u308b\u3002 void func(){} alias test=func;alias test=\"test\"; \u30bf\u30d7\u30eb\u306bexpression\u3092\u5165\u308c\u3089\u308c\u308b\u3088\u3046\u306b import std.typetuple; int x; alias TypeTuple!(x*x) test;//\u65e7\u69cb\u6587 void main(){ x=10; writefln(test); x=20; writefln(test); }int x; alias test=x*10;//\u65b0\u69cb\u6587assertio\u2026","blog_url":"https://nazodane.hatenadiary.org/","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnazodane.hatenadiary.org%2Fentry%2F20061214%2F1166102972\" title=\" alias\u306e\u3053\u3046\u3057\u3066\u307b\u3057\u3044\u306a\u3068\u3044\u3046\u30e1\u30e2 - \u8b0e&#39;s \u30ad\u30c3\u30c1\u30f3\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog"}