C++20의 주요 기능들 - 예제와 함께 정리
(oleksandrkvl.github.io)- Concepts
- Modules
- Coroutines
- Three-way comparison
- Lambda expressions
- Constant expressions
- Aggregates
- Non-type template parameters
- Structured bindings
- Range-based for loop
- Attributes : [[likely]] , [[unlikely]] , [[no_unique_address]] , [[nodiscard]]
- Character encoding : char8_t
- Sugar
- constinit
- Signed integers are two’s complement
- __VA_OPT__ for variadic macros
- Explicitly defaulted functions with different exception specifications
- Destroying operator delete
- Conditionally explicit constructors
- Feature-test macros
- Known-to-unknown bound array conversions
- Implicit move for more local objects and rvalue references
- Conversion from T* to bool is narrowing
- Deprecate some uses of volatile
- Deprecate comma operator in subscripts
C++11, 14, 17, 20... 3년마다 정말 꾸준히 나오고 있네요. 특히 이번에 들어간 모듈 시스템이 부디 널리 퍼져 링킹 스트레스를 엄청 줄여줬으면 하는 마음이...
Concepts / Contracts / Ranges/ Module, Coroutines 등의 주요 기능들은 C++20 Key Features Summary [한글 발표자료] 를 참고하세요
- https://www.slideshare.net/utilforever/c20-key-features-summary