Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add C++20 Supports #1

Open
Open
Assignees
changkun
Labels
@changkun

Description

@changkun

需要支持以下内容:

  • 语言级 bug 与修订
  • 类型系统改进Type Punning
  • 弃用和删除的功能
    • register
    • std::auto_ptr --> std::unique_ptr
    • std::random_shuffle
    • std::bind1st, std::bind2nd, ...
  • 语言增强
  • 结构化绑定 Structured bindings
  • 新的控制结构constexpr if
  • 编译时条件语句 Compile-time conditional statements
  • 新的聚合规则
  • 强制性 RVO 和复制 elision, Guaranteed copy elision
  • Unarystatic_assert
  • 嵌套命名空间 Nested namespace deinitions
  • inline 变量inline variables
  • constexpr 改进, constexpr lambda
  • 模板增强
  • 折叠表达式 Fold expressions
  • 类模板参数推导 Class template deduction
  • variadic templates fold
  • auto non-type template parameters
  • Preprocessor predicate for header testing
  • 容器
  • std::string_view,std::byte 加入 container 容器一章
  • std::any,std::variant,std::optional 加入 container 容器一章
  • 容器改进
  • 线程
  • 文件系统
  • 数学库
  • 其他特性
  • Polymorphic allocators and memory resources
  • Alignednew
  • Improved insertion and splicing for associative constrainers
  • Boolean logic metafunctions
    ...
  • 展望 C++20
  • concept
  • module
  • coroutine
  • Ranges

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp