{"published":"2012-12-05 00:00:00","width":"100%","height":"190","author_url":"https://blog.hatena.ne.jp/yohhoy/","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20121205%2Fp1\" title=\"copy elision\u6291\u6b62\u30aa\u30d7\u30b7\u30e7\u30f3 - 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>","blog_url":"https://yohhoy.hatenadiary.jp/","type":"rich","url":"https://yohhoy.hatenadiary.jp/entry/20121205/p1","provider_url":"https://hatena.blog","blog_title":"yohhoy\u306e\u65e5\u8a18","provider_name":"Hatena Blog","categories":["C++","gcc"],"image_url":null,"title":"copy elision\u6291\u6b62\u30aa\u30d7\u30b7\u30e7\u30f3","description":"gcc(g++)\u306b\u304a\u3044\u3066\u3001C++\u8a00\u8a9e\u4ed5\u69d8\u3067\u8a31\u5bb9\u3055\u308c\u3066\u3044\u308bcopy elision*1\u3092\u660e\u793a\u7684\u306b\u6291\u6b62\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3002 -fno-elide-constructors The C++ standard allows an implementation to omit creating a temporary that is only used to initialize another object of the same type. Specifying this option disables that optimization, and forces G++ to call the copy\u2026","author_name":"yohhoy"}