C++26: Standard Library Hardening Experiments
"Hardening" seems to be a very popular term in the C++ World in 2026. In this article we'll explore what this word means and see some core examples. Can a hardened library make C++ fully safe? Let's find out.
The Core Idea When you learned about std::vector you may remember that you can access an element at the i-th position using at least two expressions:
The Core Idea When you learned about std::vector you may remember that you can access an element at the i-th position using at least two expressions:
Summary
C++26 is seeing a focus on “hardening” the standard library, aiming to enhance safety in the language. This piece discusses the implications of these changes and whether they can truly make C++ safer, using practical examples to illustrate the concept.
Comments (40 of ) ⌛