gcc-in-cxx: Garbage Collecting STL Containers
Andrew Pinski
pinskia@gmail.com
Wed Jun 25 15:49:00 GMT 2008
On Wed, Jun 25, 2008 at 8:38 AM, Richard Guenther
<richard.guenther@gmail.com> wrote:
> Hmmm, does C++0x add some type-reflection? ;)
Yes but I don't see how we can use it in C++03/C++98 code. Compiling
GCC 4.5 (or 5.0) with only 4.3 will be a pain.
In fact C++0x has changed the definition of auto so you don't even
need a way to specific a type for a variable, the compiler will figure
it out by the initializer.
This is why I suggest we also stay away from the TR1 STL.
Thanks,
Andrew Pinski
More information about the Gcc
mailing list