Thursday, April 28, 2011

What version of GNU GCC supports the TR1 extern templates?

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

From stackoverflow
  • 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.

    lothar : The linked page shows the compiler version now if the feature is supported.
    Richard Corden : 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.

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.