文件名称:适用于较早编译器的C ++ 17库功能-C/C++开发
文件大小:53KB
文件格式:ZIP
更新时间:2024-06-15 18:17:01
C/C++ Compilers
为C ++ 11/14收集的C ++ 17标头此存储库具有一些新功能的自包含单标头实现,这些新功能将添加到C ++ 17的标准库中,即std :: any,std :: Optional,std :: s收集了C ++ 11/14的C ++ 17标头该存储库具有一些新功能的自包含单标头实现,这些新功能将添加到C ++ 17的标准库中,即std :: any,std :: optional,std :: string_view和std :: variant。 目的是使人们现在就可以轻松地开始使用新库,而不必等待更新的编译器版本。 头文件都向后兼容C ++ 11,但variant.hpp仅适用于C ++ 14。 我不是
【文件预览】:
cpp17_headers-master
----test()
--------test_variant.cpp(65KB)
--------test_optional_basic.cpp(628B)
--------test_any_basic.cpp(577B)
--------string_view_test1.cpp(3KB)
--------test_all_includes.cpp(124B)
--------string_view_test2.cpp(11KB)
--------test_optional.cpp(35KB)
--------CMakeLists.txt(2KB)
--------string_view_test_io.cpp(5KB)
--------test_any.cpp(6KB)
----include()
--------stx()
----.gitignore(314B)
----CMakeLists.txt(171B)
----README.md(4KB)