{"blog_title":"yohhoy\u306e\u65e5\u8a18","height":"190","provider_url":"https://hatena.blog","author_name":"yohhoy","published":"2012-06-09 00:00:00","url":"https://yohhoy.hatenadiary.jp/entry/20120609/p1","author_url":"https://blog.hatena.ne.jp/yohhoy/","description":"C++11\u3067\u5c0e\u5165\u3055\u308c\u305fauto\u306b\u3088\u308b\u578b\u63a8\u8ad6\u3068rvalue\u53c2\u7167(T&&\uff09\u306b\u95a2\u3059\u308b\u30e1\u30e2\u3002auto&&\u306b\u3088\u308b\u578b\u63a8\u8ad6\u306e\u7d50\u679c\u304c\u5e38\u306brvalue\u53c2\u7167\u578b\u3068\u306a\u308b\u3068\u306f\u9650\u3089\u306a\u3044\u3002 int x; auto t0 = x; // t0\u306fint\u578b auto& t1 = x; // t1\u306fint&\u578b auto&& t2 = x; // t2\u306fint&\u578b\uff08int&&\u578b\u3067\u306f\u306a\u3044\uff09 auto&& t3 = std::move(x); // t3\u306fint&&\u578b auto v0 = 42; // v0\u306fint\u578b auto& v1 = 42; // v1\u306fint&\u578b \u2192 42\u306fprvalue\u306e\u305f\u3081ill-formed auto&& \u2026","image_url":null,"categories":["C++"],"blog_url":"https://yohhoy.hatenadiary.jp/","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20120609%2Fp1\" title=\"auto&amp;&amp;\u306e\u843d\u3068\u3057\u7a74 - 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>","title":"auto&&\u306e\u843d\u3068\u3057\u7a74","width":"100%","version":"1.0","type":"rich"}