For the first time, a C++ standard failed to pass the national bodies
The national body vote on the C++26 standard failed, which the article presents as a first in the language's history. This vote is normally a formality, because disagreements should be settled by WG21[1] (the C++ Standards Committee) before the draft reaches the national bodies[2]. To pass, at least two-thirds of participating voting members must vote Yes, and at most one quarter of all voting members may vote No. The author reads the reported counts as 12 of the 20 P-members[3] voting Yes and nine voting No, which fails both conditions.
The main dispute is over Contracts, a feature that adds keywords for standardized runtime checks, such as pre and post conditions on functions. WG21 voted to include Contracts in the C++26 working draft[4], but several senior members and some national bodies strongly oppose it, and the author calls the national vote a last resort to keep it out. Bjarne Stroustrup, the creator of C++, said the proposal "is not minimal" and that he does not think it is viable. Profiles, a separate initiative to make C++ safer, did not make it into C++26.
In a vote in Hagenberg on 15 February 2025, Contracts was added to the working draft with 100 votes in favor, 14 against and 12 abstentions. Later attempts to remove Contracts failed, most recently in Croydon. J. Daniel García reported that 12 countries abstained, in several cases because they could not reach a common position.
Read the original herecomesthemoon.netDiscussion on GeekNews
Discussion
The few comments are brief. One praises a photo of Bjarne Stroustrup, and another points out a typo in the article.
Sources
-
KRGeekNews KO
C++ 표준안, 사상 처음으로 국가 표준화 기구 승인 투표 통과 실패
-
MOND←TECH MAGAZINE
For the first time, a C++ standard failed to pass the national bodies


