{"published":"2013-09-28 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20130928%2Fp1\" title=\"auto main() -&gt; int - 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>","description":"C++11\u3067\u5c0e\u5165\u3055\u308c\u305f\u95a2\u6570\u5ba3\u8a00\u3067\u306eauto\uff0b\u623b\u308a\u5024\u578b\u5f8c\u7f6e(trailing-return-type)\u3068main\u95a2\u6570\u306e\u7d44\u307f\u5408\u308f\u305b\u306b\u3064\u3044\u3066\u30e1\u30e2\u3002\uff08\u5c11\u306a\u304f\u3068\u3082ill-formed\u3068\u306f\u89e3\u91c8\u3055\u308c\u306a\u3044\u30cf\u30ba\uff092014-01-06\u8ffd\u8a18\uff1aC++ Standard Core Language Defect Reports, 1003. Acceptable definitions of main \u306b\u3066Wording\u5909\u66f4\u3055\u308c\u660e\u78ba\u306bwell-formed\u3068\u89e3\u91c8\u53ef\u80fd\u3068\u306a\u308b\u3002 auto main() -> int {} // int main() {} \u3068\u7b49\u4fa1 \u524d\u63b2\u30b3\u30fc\u30c9\u306fgcc 4.7.3, 4.8.1\uff08-std=c+\u2026","image_url":null,"version":"1.0","blog_url":"https://yohhoy.hatenadiary.jp/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","author_name":"yohhoy","type":"rich","categories":["C++"],"width":"100%","height":"190","blog_title":"yohhoy\u306e\u65e5\u8a18","title":"auto main() -> int","url":"https://yohhoy.hatenadiary.jp/entry/20130928/p1","author_url":"https://blog.hatena.ne.jp/yohhoy/"}