---
title: "C++26 is finished again in Brazil after a failed ISO vote, and the committee keeps contracts 111 to 9"
url: https://badiyaa.com/cpp26-finished-again-contracts-buzios/
published: 2026-11-23T17:45:00+00:00
modified: 2026-11-23T15:41:34+00:00
section: Tech
publisher: Badiyaa
---

# C++26 is finished again in Brazil after a failed ISO vote, and the committee keeps contracts 111 to 9

The ISO C++ committee finished C++26 a second time in Búzios, Brazil, voting 111 to 9 to keep contracts after the first approval ballot failed.

C++26, the next version of one of the world's most widely used programming languages, has been finished for the second time this year. Meeting in the Brazilian beach town of Búzios, the ISO C++ standards committee voted 111 to 9, with 8 abstentions, to reship the standard after its first international approval ballot failed, and it kept the feature at the center of the fight: contracts.

"The result, which surprised nearly everyone, was that the first DIS was not approved," Herb Sutter, the committee's chair from 2002 to 2025, wrote in [his November 2026 trip report from Búzios](https://herbsutter.com/2026/11/21/c26-is-done-again-trip-report-november-2026-iso-c-standards-meeting-buzios-brazil/). Past C++ approval ballots had always passed unanimously.

## Why the first vote failed

The committee had wrapped up technical work in March. Then came the Draft International Standard ballot, where national standards bodies vote. According to [Wikipedia's C++26 article](https://en.wikipedia.org/wiki/C%2B%2B26), that ballot closed on October 13 with 60% approval against a 66.67% threshold, as 9 of 22 countries voted no: Denmark, Finland, Iran, Italy, Japan, Luxembourg, Romania, Spain and Sweden.

Most objections targeted contracts, a feature that lets programmers write checks into their code with the new pre, post and contract_assert syntax, stating what must be true before a function runs, after it returns, or at a given line. Sutter says five national bodies raised contracts worries for the first time during the ballot and voted to disapprove because of them. The Wikipedia entry notes that C++ creator Bjarne Stroustrup had also listed concerns about the design, while saying he was not against contracts in general.

## The fix: an always-on switch

Several countries asked the committee to drop contracts entirely. It refused, revoting to keep them. Instead it adopted one extension, paper P4451R2 by Joshua Berne, which lets a programmer label a single check as always enforced, so the program cannot run past it when the check fails, whatever build settings the rest of the code uses. In practice that means writing the label std::contracts::controls::enforced inside the check.

Three smaller changes also went in, including one that lets string_view, span and tuple serve as template parameters, which makes the language's new compile-time reflection more useful.

## Support for contracts has grown at every vote

[Sutter's trip report lists three plenary votes](https://herbsutter.com/2026/11/21/c26-is-done-again-trip-report-november-2026-iso-c-standards-meeting-buzios-brazil/) on contracts, and side by side they show the opposition shrinking:

- **February 2025** (adding contracts to the draft): 100 in favor, 14 opposed, 12 abstaining, or 87.7% of yes-and-no votes.

- **March 2026** (first shipping vote): 114 in favor, 12 opposed, 3 abstaining, or 90.5%.

- **November 2026** (reshipping in Búzios): 111 in favor, 9 opposed, 8 abstaining, or 92.5%.

That is a rise of 4.8 percentage points in 21 months, with the number of no votes falling from 14 to 9. The open question is whether national bodies, not committee members, are persuaded this time: the updated document now goes out for a second approval ballot before ISO publishes it.

## Meanwhile, C++29 gets labeled loops

About 220 experts from 27 nations took part over six days, roughly a third in person and the rest on Zoom. Sutter writes that remote attendance ran higher than usual partly because a US aviation ground stop disrupted flights just as delegates were traveling.

The committee still found time for C++29. Approved changes include labeled break and continue for jumping out of a specific nested loop, a new any_view and views::slice in the ranges library, and a "0o" prefix for octal numbers. That last one, from three CERN authors, was first proposed in 2015, making it an 11-year wait. Badiyaa has looked back at earlier eras of compilers too, including how [Turbo Pascal squeezed a compiler into 39,731 bytes](https://badiyaa.com/turbo-pascal-39731-bytes-compiler/), and covered newer language releases such as [PHP 8.6 and its partial function application](https://badiyaa.com/php-8-6-release-features/).

Sutter has called C++26 the most compelling release since C++11, largely because of reflection, according to [the C++26 Wikipedia page](https://en.wikipedia.org/wiki/C%2B%2B26). The committee's next full meeting is in Istanbul in March 2027, where work on C++29 continues.

## Sources
- [Trip report on the Búzios meeting that recompleted C++26](https://herbsutter.com/2026/11/21/c26-is-done-again-trip-report-november-2026-iso-c-standards-meeting-buzios-brazil/), Herb Sutter, Sutter's Mill, 2026
- [C++26](https://en.wikipedia.org/wiki/C%2B%2B26), Wikipedia, 2026

*Image: Danilomhadek, CC BY-SA 4.0 via Wikimedia Commons*

*This article was produced with AI assistance and reviewed by our Editorial Desk. [How we work](https://badiyaa.com/editorial-policy/).*
