views:

1571

answers:

1

What is the earliest GNU GCC (g++) version to support the TR1 extern templates? For example, is it already supported in version 4.0?

+6  A: 

You can find the list of C++-0x features supported and the G++ version that supports them here. There is a simple Yes in the column so I assume they're in 4.3 or possibly earlier.

Richard Corden
The linked page shows the compiler version now if the feature is supported.
lothar
But not in the case of "extern templates". It's simply a Yes there. However, IIRC it was people from GCC that proposed the idea, so it's possible that it has been in g++ for several versions.
Richard Corden