Re: Gcc 94 / 10.2 has no GCC 20 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I wanted some reflection functionality of boost pfr
https://stackoverflow.com/questions/77464428/how-does-boost-pfr-get-the-names-of-fields-of-a-struct
________________________________
From: Paul Smith <paul@xxxxxxxxxxxxxxxxx>
Sent: Wednesday, October 23, 2024 6:01 PM
To: Phil Phil <heidegg@xxxxxxxxxxx>; gcc-help@xxxxxxxxxxx <gcc-help@xxxxxxxxxxx>
Subject: Re: Gcc 94 / 10.2 has no GCC 20 ?

On Wed, 2024-10-23 at 17:55 +0000, Phil Phil wrote:
> Hmm at least 9.4 seems to be
> June 1, 2021

It doesn't matter when the minor version was updated.  Software
projects typically don't backport significant new features (like
support for entirely new C++ standards) into maintenance releases.
They are only for bugfixes.  If it wasn't in 9.1, it won't be in 9.x
for x>1.

> whatever. 11 should be safe?

It depends on what you mean by "safe".  As Jonathan points out, some
parts of C++20 are already available in older releases.  So if you
really want to know you need to say what C++20 features you are
actually looking for.

I don't know what is in GCC 11.  I can say for sure that GCC 12.x,
13.x, and 14.x set __cplusplus to 202002L.





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux