Most supported operating systems ship with clang-19 (or later), so bump the minimum to that and allow new code to drop workarounds for previous clang bugs.
(For this bump, only C++20 CTAD will become available.)
This patch will only be released in version 33.x, next year (2027).
For reference:
- https://packages.debian.org/bookworm/clang-22
- https://packages.ubuntu.com/noble/clang-20
- CentOS-like 8/9/10 ship clang-21 via Stream
- Free/Open/Net*BSD ship clang-19
- OpenSuse Tumbleweed ships with https://software.opensuse.org/package/clang (clang22); leap:latest with clang-19
- macOS 14: ...💀
On operating systems where the minimum Clang version is not shipped by default, the user would have to use GCC, or install Clang in a different way. For example:
- https://packages.debian.org/bookworm/g++ (g++-12)
- https://packages.ubuntu.com/jammy/g++-12
- https://apt.llvm.org/, brew, nix, guix, or compile clang from source, ...