{"author_name":"osyo-manga","provider_url":"https://hatena.blog","image_url":null,"version":"1.0","author_url":"https://blog.hatena.ne.jp/osyo-manga/","categories":["C++"],"description":"\u554f\uff0e\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u4f55\u304c\u51fa\u529b\u3055\u308c\u308b\u3067\u3057\u3087\u3046\u304b\u3002 [\u30bd\u30fc\u30b9] #include <iostream> template<typename T> void func(T&&){ std::cout << \"T&&\" << std::endl; } struct X{}; void func(X const&){ std::cout << \"X const&\" << std::endl; } int main(){ X x; func(x); func(X{}); return 0; } \u51fa\u529b\u306f\u3053\u3053\u306b\u306f\u66f8\u304d\u307e\u305b\u3093\u304c\u3001\u8003\u3048\u3066\u3044\u305f\u51fa\u529b\u3068\u9055\u3063\u3066\u3044\u305f C++er \u306a\u4eba\u306f\u7d50\u69cb\u3044\u308b\u3093\u3058\u3083\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002 \u2026","blog_url":"https://osyo-manga.hatenadiary.org/","provider_name":"Hatena Blog","width":"100%","blog_title":"C++\u3067\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosyo-manga.hatenadiary.org%2Fentry%2F20120530%2F1338318292\" title=\"C++11 \u3080\u305a\u3044 - C++\u3067\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://osyo-manga.hatenadiary.org/entry/20120530/1338318292","height":"190","title":"C++11 \u3080\u305a\u3044","published":"2012-05-30 04:04:52"}