Get the latest tech news

C++26: Reflection, Memory Safety, Contracts, and a New Async Model


The C++26 standard draft is now complete, reports Herb Sutter, long-time C++ expert and former chair of the ISO C++ standards committee. The finalized draft introduces reflection, enhances memory safety without requiring code rewrites, adds contracts with preconditions and postconditions alongside a new assertion statement, and establishes a unified framework for concurrency and parallelism.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of contracts

contracts

Photo of reflection

reflection

Photo of Memory Safety

Memory Safety

Related news:

News photo

Contracts are in C++26 despite disagreement over their value

News photo

C++26 is done: ISO C++ standards meeting Trip Report

News photo

C++26: A User-Friednly assert() macro