Date: Wed, 8 Jan 2025 17:49:06 +0000 From: David Chisnall <theraven@FreeBSD.org> To: Alan Somers <asomers@freebsd.org> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: What's the newest C++ standard that we can target? Message-ID: <5F5098DD-075A-443F-8771-362DD2FF270D@FreeBSD.org> In-Reply-To: <CAOtMX2hCM3BEK%2B4ydw8g2R7b=T_TR6U4YRXpDbFijD52y=jA8g@mail.gmail.com> References: <CAOtMX2hCM3BEK%2B4ydw8g2R7b=T_TR6U4YRXpDbFijD52y=jA8g@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On 8 Jan 2025, at 17:31, Alan Somers <asomers@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. Davidhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5F5098DD-075A-443F-8771-362DD2FF270D>
