theregister.com·13 november 2026

C++26 stumbles at finish line over Contracts dispute

Image for the article: C++26 stumbles at finish line over Contracts dispute
Image via theregister.com

The C++26 standard faces delays due to a dispute over the Contracts feature, which aims to enhance security by adding preconditions and postconditions to code. Bjarne Stroustrup and his colleagues argue that the feature adds complexity and threatens C++'s performance, while others see it as essential for catching programming errors. The ISO ballot failed to pass, with 13 votes in favor, 9 against, and 12 abstentions, falling short of the required threshold. The disagreement has raised concerns about the future of C++ and its ability to compete with languages like Rust.