{"description":"\u3063\u3066\u304bnarrowing conversion\u3092\u77e5\u3089\u3093\u3063\u3066\u4eba\u306e\u307b\u3046\u304c\u591a\u3044\u304b\u3002 \u3053\u308c\u306fC++0x\u304b\u3089\u306e\u7834\u58ca\u7684\u5909\u66f4\u306e\u3072\u3068\u3064\u3067\u3001unified initializer\u3092\u4f7f\u3063\u305f\u5834\u5408\u306b\u6697\u9ed9\u306e\u578b\u5909\u63db\u3092\u884c\u308f\u306a\u3044\u3063\u3066\u3044\u3046\u3082\u306e\u3002 \u4f8b\u3048\u3070\u3001 int x[] = { 0.0 }; \u3063\u3066\u306e\u306fC++03\u3067\u306f\u901a\u3063\u3066\u3066\u3001double->int\u306e\u6697\u9ed9\u7684\u5909\u63db\u304c\u884c\u308f\u308c\u3066\u3044\u305f\u3093\u3060\u3051\u3069\u3001C++0x\u304b\u3089\u306f\u3053\u308c\u304cill-formed\u306b\u306a\u3063\u3066\u307e\u3059\u3002 \u4f55\u3067\u304b\u3063\u3066\u306e\u3068\u304b\u306f\u3088\u304f\u77e5\u3089\u306a\u3044\u306e\u3067\u59d4\u54e1\u4f1a\u306b\u8fd1\u3044\u4eba\u306b\u805e\u3044\u3066\u304f\u3060\u3055\u3044\u3002\u305f\u3060\u3057\u4fee\u98fe\u5b50\u306e\u9055\u3044\u306f\u304a\uff4b\u3067\u3059\u3002\u3042\u3068integral promotion\u306f\u8003\u616e\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002(unsigned\u95a2\u4fc2\u3082inte\u2026","url":"https://flast.hateblo.jp/entry/20110718/1310973752","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fflast.hateblo.jp%2Fentry%2F20110718%2F1310973752\" title=\"narrowing conversion\u3092\u8003\u616e\u3057\u305fis_convertible - \u306b\u3083\u306f\u306f\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/Flast/","provider_url":"https://hatena.blog","author_name":"Flast","title":"narrowing conversion\u3092\u8003\u616e\u3057\u305fis_convertible","type":"rich","published":"2011-07-18 16:22:32","width":"100%","categories":["C++","\u30e9\u30a4\u30d6\u30e9\u30ea\u95a2\u4fc2","Boost"],"blog_url":"https://flast.hateblo.jp/","blog_title":"\u306b\u3083\u306f\u306f\u30fc","height":"190"}