{"author_url":"https://blog.hatena.ne.jp/yohhoy/","published":"2017-01-04 00:00:00","type":"rich","blog_title":"yohhoy\u306e\u65e5\u8a18","provider_url":"https://hatena.blog","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9eC++\u306b\u304a\u3051\u308b\u8a55\u4fa1\u9806\u898f\u5b9a\u306e\u5909\u9077\u306b\u3064\u3044\u3066\u30e1\u30e2*1\u3002\u672c\u8a18\u4e8b\u3067\u306f\u4ee3\u5165\uff0b\u524d\u7f6e\uff0f\u5f8c\u7f6e\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8*2\uff0b\u52a0\u7b97\u6f14\u7b97\u5b50*3 *4\u3092\u6271\u3046\u3002\u6ce8\u610f\uff1a\u672c\u8a18\u4e8b\u306f\u8a00\u8a9e\u4ed5\u69d8\u306e\u9685\u3092\u3064\u3064\u304f\u8a71\u984c\u3067\u3042\u308a\u3001\u4e00\u822c\u8ad6\u3068\u3057\u3066\u540c\u4e00\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5bfe\u3059\u308b\u8907\u6570\u56de\u306e\u526f\u4f5c\u7528\u3092\u4f34\u3046\u5f0f\u6587\u306f\u907f\u3051\u308b\u3079\u304d\u3002sequenced-before\u95a2\u4fc2\u30eb\u30fc\u30eb\u3092\u899a\u3048\u3066\u307e\u3067\u969b\u3069\u3044\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u307b\u3069\u4eba\u751f\u306f\u9577\u304f\u306a\u3044\u306f\u305a\u3002 int i = 0; i = ++i + 1; // [A] C++03\u4ee5\u524d: undefined behavior, C++11\u4ee5\u964d: well-defined i = i++ + 1; // [B] C++14\u4ee5\u524d: undefined \u2026","version":"1.0","width":"100%","title":"i = i++ + 1;\u306e\u8a55\u4fa1\u9806\u898f\u5b9a","blog_url":"https://yohhoy.hatenadiary.jp/","author_name":"yohhoy","height":"190","provider_name":"Hatena Blog","categories":["C++","C++1z"],"image_url":null,"url":"https://yohhoy.hatenadiary.jp/entry/20170104/p1","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20170104%2Fp1\" title=\"i = i++ + 1;\u306e\u8a55\u4fa1\u9806\u898f\u5b9a - 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>"}