C++26国际标准草案在ISO的DIS(国际草案)投票中未能获得通过,这是C++历史上首次未通过DIS投票 1。此次投票截止日期为2026年10月23日,结果显示草案仅获得12票支持,未达到所需的14票门槛;同时,反对票数量达到9票,超过了允许的5票限额,导致两项关键指标均未满足要求 1。
投反对票的国家包括丹麦、芬兰、伊朗、意大利、日本、卢森堡、罗马尼亚、西班牙和瑞典,而法国、爱尔兰、波兰和美国则选择了弃权 1。据悉,投票中的反对意见主要集中在“contracts”特性的设计问题上 1。面对这一结果,负责C++标准化的WG21委员会计划于2026年11月16日至21日在巴西布兹奥斯召开会议,届时将决定采取修订草案、移除contracts特性或其他应对措施 1。完整的投票报告预计将在2027年1月中旬发布 1。在此之前,当前正式发布的C++标准版本仍为ISO/IEC 14882:2024(即C++23) 1。
The draft standard for C++26 has failed to pass the International Organization for Standardization (ISO) Draft International Standard (DIS) ballot, marking the first time a C++ standard has not passed this stage. 1 The vote deadline was October 23, 2026. The result showed that the draft secured only 12 affirmative votes against the required threshold of 14, while recording 9 negative votes, which exceeded the limit of 5 allowed rejections. 1 Consequently, neither the minimum support requirement nor the maximum opposition allowance was met, resulting in the failure of the current proposal. 1
Opposition to the draft primarily stemmed from concerns regarding the design of the "contracts" feature, with nine countries casting negative votes: Denmark, Finland, Iran, Italy, Japan, Luxembourg, Romania, Spain, and Sweden. 1 Four nations abstained from voting, including France, Ireland, Poland, and the United States. 1 The full report is due by mid-January 2027. The WG21 committee is scheduled to convene in Búzios, Brazil, from November 16–21, 2026, to determine the next steps. 1 Potential outcomes discussed include revising the draft, removing the contracts feature, or exploring other alternatives before the finalization of the standard, which currently remains at ISO/IEC 14882:2024 (C++23). 1
评论
还没有评论,欢迎留下第一条。