On 8 Jan 2025, at 17:31, Alan Somers <asom...@freebsd.org> wrote: > > What is the newest C++ standard that we can target in src, and be > confident that it will compile on all targets? Can we use C++20?
C++20 is pretty well supported by clang 13 (I’m using C++20 features on a project that needs to compile with clang 13). I believe all STABLE branches and releases now include at least 17.x, which has incomplete (but fairly good) C++23 support. David