C&C++   发布时间:2022-04-03  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了VS2010支持C++11特性 -- 简记大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

VS2010支持C++11特性的部分记录:

语言特性:

1. 右值引用
2. static_assert
3. auto
4. decltype 类型提取
5. 结尾返回类型,即函数返回类型声明后置,类似于auto func(int i,int j) -> int;
6. Lambdas表达式
7. 双右尖括号>>
8. nullptr
9. 内存对齐其字节说明和获取,alignas、alignof ,此与sizeof区别,前者为对齐字节数,后者为补齐后的字节数,且前者影响后者
10. override、final关键字
11. <exception> 中的exception_ptr

C++标准库:

0. <algorithm>
1. <bitset>
2. <codecvt>
3. <complex>
4. <exception>
5. <functional>
6. <initializer_list>
7. <iterator>
8. <limits>
9. <locale>
10. <memory>
11. <new>
12. <numeric>
13. <ratio>
14. <regex>
15. <stdexcept>
16. <string>
17. <system_error>
18. <tuple>
19. <typeindex>
20. <typeinfo>
21. <type_traits>
22. <utility>
23. <valarray>
24. <array>
25. <deque>
26. <forward_list>
27. <list>
28. <map>
29. <queue>
30. <set>
31. <stack>
32. <unordered_map>
33. <unordered_set>
34. <vector>
35. <fstream>
36. <iomanip>
37. <ios>
38. <iosfwd>
39. <istream>
40. <ostream>
41. <sstream>
42. <streambuf>

C标准库:

1. <cassert>
2. <cctype>
3. <cerrno>
4. <cfloat>
5. <ciso646>
6. <climits>
7. <clocale>
8. <cmath>
9. <csetjmp>
10. <csignal>
11. <cstdarg>
12. <cstddef>
13. <cstdint>
14. <cstdio>
15. <cstdlib>
16. <cstring>
17. <ctime>
18. <cwchar>
19. <cwctype>

不支持库:

//#include <chrono>//#include <ratio>//#include <atomic>//#include <condition_variable>//#include <future>//#include <mutex>//#include <thread>//#include <cfenv>//#include <cinttypes>//#include <cstdbool>//#include <ctgmath>//#include <cuchar>

大佬总结

以上是大佬教程为你收集整理的VS2010支持C++11特性 -- 简记全部内容,希望文章能够帮你解决VS2010支持C++11特性 -- 简记所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: