{"provider_name":"Hatena Blog","published":"2016-11-04 00:00:00","url":"https://yohhoy.hatenadiary.jp/entry/20161104/p1","blog_url":"https://yohhoy.hatenadiary.jp/","author_name":"yohhoy","author_url":"https://blog.hatena.ne.jp/yohhoy/","version":"1.0","image_url":null,"description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9eC++\u3067\u306e\u30b9\u30ab\u30e9\u5909\u6570\u306e\u521d\u671f\u5316\uff0f\u4ee3\u5165\u306b\u304a\u3044\u3066\u3001Uniform initialization\u3068\u5197\u9577\u306a\u672b\u5c3e\u30ab\u30f3\u30de(,)\u3092\u7d44\u307f\u5408\u305b\u305f\u4f8b\u3002\u69cb\u6587\u4e0a\u306f\u8a31\u5bb9\u3055\u308c\u308b\u304c\u3001\u5206\u304b\u308a\u306b\u304f\u3044\u66f8\u304d\u65b9\u306f\u907f\u3051\u308b\u3079\u304d\u3002 int a = { 42, }; // OK: \u502442\u3067\u521d\u671f\u5316 int b = { 42 }; // OK: (\u540c\u4e0a) int c = 42; // OK: (\u540c\u4e0a) int v; v = { 42, }; // OK: \u502442\u3092\u4ee3\u5165 v = { 42 }; // OK: (\u540c\u4e0a) v = 42; // OK: (\u540c\u4e0a) C++11 5.17/p9, 8.5/p1\u3088\u308a\u4e00\u90e8\u5f15\u7528\u3002 9 A brac\u2026","categories":["C++"],"title":"int a = { 42, };","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20161104%2Fp1\" title=\"int a = { 42, }; - yohhoy\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","blog_title":"yohhoy\u306e\u65e5\u8a18","height":"190","width":"100%","type":"rich"}