This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-in-cxx: Garbage Collecting STL Containers


On Wed, Jun 25, 2008 at 10:48 AM, Andrew Pinski <pinskia@gmail.com> wrote:
> 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.

I believe C++98 or C++03 should be enough for GCC.  Naturally, I think
we should use the STL; along with Dan Berlin's suggestion of taking
the leap to dump gengtype.

We would want, for the most part not to have to depend on C++0x for
obvious bootstrapping requirements.

>
> Thanks,
> Andrew Pinski
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]