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.
Or read this on Hacker News