Conversation

Thorsten Leemhuis (acct. 1/4)

Edited 1 year ago

New C++ features in 14; @strudlzrout writes:

"'C++26 features

* Trivial infinite loops and UB
* Static storage for braced initializers
[…]

C++23 features
* Deducing this
* References in constant expressions
[…]

Defect report resolutions
* stricter constinit
* goto and trivially-initialized objects
[…]

Additional updates

* More checking in templates
* In-class variable template partial specializations
[…]

New and improved warnings
* -Wnrvo added
[…]"'

https://developers.redhat.com/articles/2024/05/15/new-c-features-gcc-14

1
1
0
@kernellogger Rust community will learn one lesson eventually: a pole position must be maintained because there is this thing called "competition" ;-) Rest of the world lives by measured facts. Pretty amazing how great static analysis for plain C has gotten in GCC14. And for plain C it can only get better given that the language spec does not grow constantly.
0
0
1