This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [c++0x] List of what __GLIBCXX__ version headers become available?
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Beman Dawes <bdawes at acm dot org>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Sat, 16 May 2009 10:53:24 +0100
- Subject: Re: [c++0x] List of what __GLIBCXX__ version headers become available?
- References: <gujp2u$604$1@ger.gmane.org>
2009/5/15 Beman Dawes:
>
> Is there anything analogous to http://gcc.gnu.org/projects/cxx0x.html that
> lists the status of each C++ header? In particular, for C++03 headers I'd
> like to know the __GLIBCXX__ version where the C++0x features (other than
> concept related) became available and the version where full (including
> concept related) features became available. For C++0x headers, I'd like to
> know the version where features (other than concept related) became
> available and the version where full (including concept related) features
> became available.
Hi Beman,
I'm not sure how useful __GLIBCXX__ is for your purposes, for instance
in GCC 4.2.4 it is set to 20080519 but in GCC 4.3.0 it is set to
20080305. Although 4.3.0 was released earlier than 4.2.4, it has
better C++0x support than any release in the 4.2 series.
You probably want to check __GLIBC__, __GLIBC__MINOR__ and maybe
__GNUC_PATCHLEVEL__ instead.
The C++0x library status is shown at
http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#manual.intro.status.standard.200x
However, that shows the status for the subversion trunk, to get the
info you want you'd need to check the docbook xml source in each GCC
release to see when the status changed for each item. It might make
sense to add an extra column to the table showing the release in which
the status changed to Y.
Jonathan