摘要:
1、C++14多了std::make_unique 2、C++14用auto推导函数返回值时,不需要使用decltype来配合使用 阅读全文
posted @ 2022-03-11 16:07
朱小勇
阅读(451)
评论(0)
推荐(0)
摘要:
1、 int fun(int x) { return x + 1; } std::result_of<fun(int)>::type d = 100; // int 阅读全文
posted @ 2022-03-11 14:55
朱小勇
阅读(242)
评论(0)
推荐(0)