LLVM Clang 17 Adds Initial C++26 Compile Flags With -std=c++26
![LLVM](/assets/categories/llvm.webp)
Merged today to LLVM Git was just the initial support for specifying C++26 (or C++2C) or the fallback of GNU++26 / GNU++2C for the GNU dialect. Unlike with C++23 and prior where it was only implemented in the compiler as "C++2B" until the end where recently the "-std=c++23" option was added, due to developer discussions it was decided moving forward to simplify things to recognize the "-std=c++26" option from the get-go.
So while C++23 was only recently finalized, compiler developers are wasting no time in beginning preparations toward what will eventually become C++26. See this commit if interested in the first step towards C++26/C++2C for Clang.
11 Comments