Get the latest tech news

What's new in C++26 (part 1)


As C++26 is a work in process, we look at several new language features (already supported by Clang and GCC).

The C++26 version of the C++ standard is a work in progress, but a series of language and library features have been already added. If the function fails, then we also need to look at the ec member (of the std::errc type) representing an error code. The static_assert ‘s second parameter, which is a string representing the error message, can now be a compile-time user-generated string-like object.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of C++26

C++26

Related news:

News photo

New Features in C++26

News photo

Reflection for C++26