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