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.
Reflection is a mechanism that, as Sutter explains, gives developers the keys to C++ internal machinery, ...
Read more at infoq.com