hn.today

C++26 is done (again): November 2026 ISO C++ meeting trip report

herbsutter.com77 points53 comments
Screenshot of C++26 is done (again): November 2026 ISO C++ meeting trip report

The ISO C++ committee completed technical work on C++26 for a second time at its November 2026 meeting in Búzios, after the standard’s first international approval ballot failed to pass. Most of the six-day meeting addressed national-body comments, chiefly concerns about contracts: preconditions, postconditions, and contract assertions. Although several groups had asked to remove contracts from C++26, the committee voted to retain them and approved an extension that lets programmers mark particular contract checks as always enforced, regardless of how other checks are configured. The vote to resubmit the revised standard was 111 in favor, nine opposed, and eight abstaining. The updated document is expected to go to a second approval ballot.

The meeting also adopted three other C++26 changes, including improvements to reflection, memory allocation with senders and receivers, and structural types such as string_view and span. These changes were also added to the C++29 draft to keep the standards aligned. Early C++29 additions include labeled break and continue statements for selecting which nested loop to exit or continue, and new octal-literal prefixes, 0o and 0O, with the traditional leading-zero form deprecated. Library proposals add ranges::any_view for type-erased views, views::slice for selecting a range by start and end positions, and optional::get_ptr() for accessing a pointer to an optional’s contained value. About 220 participants from 27 nations attended in person or remotely.

Read on herbsutter.com53 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.