{"provider_url":"https://hatena.blog","height":"190","published":"2013-11-16 00:00:00","categories":["C++"],"author_url":"https://blog.hatena.ne.jp/yohhoy/","width":"100%","author_name":"yohhoy","description":"C++14 Draft N3485\u306b\u3066CWG defect #1270\u304c\u9069\u7528\u3055\u308c\u3001initializer-list\u306b\u3088\u308baggregate(\u96c6\u6210\u4f53)\u306e\u521d\u671f\u5316\u6761\u4ef6\u304c\u7de9\u548c\u3055\u308c\u305f\u3002 C++11\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30eastd::vector, std::array\u306b\u304a\u3044\u3066 Uniform initialization \u3068 Initializer list \u3092\u7d44\u307f\u5408\u308f\u305b\u305f\u5834\u5408\u306b\u3001N3337\u73fe\u5728\u3067\u306f\u305d\u308c\u305e\u308c\u7570\u306a\u308b\u8868\u8a18\u304c\u5fc5\u8981\u3068\u306a\u308b\u30022012\u5e747\u6708\u73fe\u5728\u3001CWG defect #1270\u306b\u6319\u3052\u3089\u308c\u3066\u3044\u308b\u3002 std::vector<int> x0{1,2,3,4}; std::array<int, 4> y0{{1,2,3\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20131116%2Fp1\" title=\"initializer-list\u306b\u3088\u308baggregate\u521d\u671f\u5316\u306e\u5236\u7d04\u7de9\u548c - 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_name":"Hatena Blog","blog_url":"https://yohhoy.hatenadiary.jp/","image_url":null,"blog_title":"yohhoy\u306e\u65e5\u8a18","url":"https://yohhoy.hatenadiary.jp/entry/20131116/p1","title":"initializer-list\u306b\u3088\u308baggregate\u521d\u671f\u5316\u306e\u5236\u7d04\u7de9\u548c","type":"rich","version":"1.0"}