{"image_url":null,"version":"1.0","blog_title":"Cry's Blog","provider_url":"https://hatena.blog","url":"https://blog.cryolite.net/entry/20080202/p4","published":"2008-02-02 00:00:03","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.cryolite.net%2Fentry%2F20080202%2Fp4\" title=\"\u305d\u3093\u306a\u3053\u3068\u3088\u308a decltype(a) \u3068 decltype((a)) - Cry&#39;s Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","provider_name":"Hatena Blog","author_name":"Cryolite","description":"\u305d\u3093\u306a\u3053\u3068\u3088\u308a (\u300c\u305d\u3093\u306a\u3053\u3068\u3088\u308a\u300d\u3068\u306f\u306a\u3093\u3060\u3063\uff01\u4e0a\u306e\u4e8b\u9805\u3082\u304b\u306a\u308a\u6c17\u306b\u306a\u308b\u30ef\uff01) decltype(a) \u3068 decltype((a)) \u306e\u610f\u5473\u304c\u9055\u3046\u3063\u3066\u3044\u3046\u30a2\u30ec\uff0c\u4e00\u77ac\u304b\u306a\u308a\u6df7\u4e71\u3057\u307e\u305b\u3093\u304b\uff1f\u3057\u307e\u305b\u3093\u306d\uff0e(\u00b4\uff65\u03c9\uff65`)\uff7c\uff6e\uff8e\uff9e\uff70\uff9d int a = 42; decltype(a) b; // int b; \u306b\u540c\u7b49 decltype((a)) c; // int &c; \u306b\u540c\u7b49 \u2191\u3053\u308c\uff0e\u63d0\u6848\u3055\u308c\u3066\u3044\u308b\u898f\u683c\u306e\u6587\u8a00\u8aad\u3093\u3067\u3082\u4e00\u77ac\u89e3\u91c8\u304c\u5206\u304b\u3089\u306a\u304b\u3063\u305f\u30fc\u3088\uff0e \u4e0a\u306f id-expression \u3067\u4e0b\u306f\u305d\u3046\u3058\u3083\u306a\u3044\u3063\u3066\u3053\u3068\u306a\u3093\u3060\u308d\u30fc\u3051\u3069\u3055\uff0e","categories":["C++0x","C++"],"width":"100%","height":"190","blog_url":"https://blog.cryolite.net/","author_url":"https://blog.hatena.ne.jp/Cryolite/","title":"\u305d\u3093\u306a\u3053\u3068\u3088\u308a decltype(a) \u3068 decltype((a))"}