{"author_url":"https://blog.hatena.ne.jp/faith_and_brave/","type":"rich","title":" VC++10 Beta 1\u306e\u4eca\u3055\u3089\u6c17\u3065\u3044\u305fC++0x\u6a5f\u80fd","description":"\u767a\u8868\u3055\u308c\u3066\u306a\u304b\u3063\u305f\u306e\u3067\u8a66\u3057\u3066\u3082\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001 VC++10\u3067\u306f\u623b\u308a\u5024\u306e\u578b\u3092\u5f8c\u7f6e\u3059\u308b\u95a2\u6570\u5ba3\u8a00\u69cb\u6587\u304c\u4f7f\u3048\u308b\u3088\u3046\u3067\u3059\u3002 (auto\u3068->\u306e\u3042\u305f\u308a\u306b\u8d64\u7dda\u5f15\u304b\u308c\u308b\u3051\u3069) \u3042\u3068\u3001decltype( ( v ) )\u3082\u4f7f\u3048\u307e\u3057\u305f\u3002 #include <vector> #include <type_traits> using namespace std; // \u95a2\u6570\u306e\u623b\u308a\u5024\u306e\u578b(vector<int>)\u3092\u5f8c\u7f6e auto foo() -> vector<int> { return vector<int>(); } int main() { vector<int> v = foo(); // decltype\u2026","version":"1.0","url":"https://faithandbrave.hateblo.jp/entry/20090623/1245751685","height":"190","provider_name":"Hatena Blog","width":"100%","published":"2009-06-23 19:08:05","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20090623%2F1245751685\" title=\" VC++10 Beta 1\u306e\u4eca\u3055\u3089\u6c17\u3065\u3044\u305fC++0x\u6a5f\u80fd - Faith and Brave - C++\u3067\u904a\u307c\u3046\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","categories":["VC++"],"provider_url":"https://hatena.blog","image_url":null,"blog_url":"https://faithandbrave.hateblo.jp/","author_name":"faith_and_brave"}