This is the mail archive of the
mailing list for the GCC project.
Re: [v3] _GLIBCPP_EXTERN_TEMPLATE
On 13 Feb 2003 23:48:45 +0100
Gabriel Dos Reis <firstname.lastname@example.org> wrote:
>Humm, I can't see how this introduces an ODR violation. All it does
>is to defer the point of the "real" instantiation. If one finds an
>ODR violation with that feature then the ODR violation is already
>present in the non-extern template version, I believe.
True, sorry for the confusion. I should have said: casual use of this,
while still erroneously liking to libstdc++.[a, so] which also contains
definitions of static data, for instance, will result in multiple
definition errors at link time.