{"height":"190","blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","author_name":"faith_and_brave","blog_url":"https://faithandbrave.hateblo.jp/","description":"\u6700\u8fd1Boost\u3070\u304b\u308a\u306a\u306e\u3067\u3001\u305f\u307e\u306b\u306fC++0x\u306e\u8a71\u3067\u3082\u3002C++0x\u306eUniform Initialization(\u4e00\u69d8\u521d\u671f\u5316)\u306b\u3088\u3063\u3066\u3001\u30e1\u30f3\u30d0\u5909\u6570\u3068\u3057\u3066\u306e\u914d\u5217\u3092\u3001\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u521d\u671f\u5316\u5b50\u30ea\u30b9\u30c8\u3067\u521d\u671f\u5316\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 \u4ee5\u4e0b\u3001GCC 4.6\u3067\u306f\u52d5\u4f5c\u3057\u307e\u3059\u3002 #include <iostream> struct X { int ar[3]; X() : ar{1, 2, 3} {} }; int main() { X x; for (int i : x.ar) { std::cout << i << std::endl; } } 1 2 3# \u3053\u306e\u30cd\u30bf\u6614\u66f8\u3044\u3066\u307e\u3057\u305f\u30fb\u30fb\u30fb\u3002 # http:/\u2026","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","image_url":null,"title":" \u914d\u5217\u30e1\u30f3\u30d0\u5909\u6570\u306e\u521d\u671f\u5316","categories":["C++"],"author_url":"https://blog.hatena.ne.jp/faith_and_brave/","url":"https://faithandbrave.hateblo.jp/entry/20110610/1307688452","version":"1.0","published":"2011-06-10 15:47:32","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20110610%2F1307688452\" title=\" \u914d\u5217\u30e1\u30f3\u30d0\u5909\u6570\u306e\u521d\u671f\u5316 - Faith and Brave - C++\u3067\u904a\u307c\u3046\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%"}