c 17中的新功能是什麼? argument deduction for class templates
template
to represent values of any non-type template argument typeFixes to non-type template arguments
Support for template templatesExtended folding and ... expressions- auto x{8} as an integer
constexpr lambdas 在屬性中使用以避免重複屬性namespaces ,要求編譯器忽略非標準屬性,他們不識別
消除不拋出並用throw()和noexcept(true)和noexcept(true) misc:- 枚舉的直接列表initialization
轉發進度保證(fpgs)- Arrays of pointer conversion fixes
- Fixes to inherited constructors and aggregate initialization with inheritance
- Utility functions for std type punning
- Library添加:
- 數據類型:
- std::string_view as a reference to a character array or substring
- std::byte as neither an integer nor a character, but just data
- Invoke東西:
- 文件系統ts v1
:改進文件系統operations - 螺紋:
std ::共 machinery- Library Fundamentals TS v1:
Searching algorithms, polymorphic allocator (pmr), sampling
- Container Improvements:
try_emplace and insert_or_assign, splicing for maps and sets, non-const .data() for strings,非會員std ::大小,std ::空,std ::數據,最小的不完整類型的支持,在容器中,連續迭代器“概念”,constexpr迭代器,更新的emplace fromptions fromptions
Other std datatype improvements: Construction of std::tuple with curly braces, trivially copyable reference_wrapper- Misc:
- C 17 library is based on C11 instead of c99
保留std [0-9]對於未來的標準庫 實用程序函數,例如destion,unitialized_move,unitialialized_value_construct和unitialialized_default_default_default_construct functions - std :: clamp()
GCD和LCM計算 std :: holles_less_less smart Pointer smart Pointers供基於內容進行排序 std :: conjunction,std :: conjunction,std :: conjunction,std :: conjunction,std :: conjunction,std :: std :: negation
在std - sTD :: iS_contigous_layout
sTD :: tod :: tod :: to_chars和to_chars and and __cond :: std :: from_chars - [&& && && && && && && && && && && && && && &&&&&&&&&&&&&&&&&&&&&&&&& && && && && && && && &&&&& swap,IS_Agggregate,has_unique_object_reprprprprprprprproprprprproprprprproprprproprproprprproprprproprprancate,