[PATCH] problem with static variables in template functions

Trevor Yann TYann@vet.com.au
Tue Aug 11 16:07:00 GMT 1998

I'm not sure that this patch is correct. The default linkage for an
inline function is internal, rather than external.

Inline functions with internal linkage are allowed (required?) to have a
different instance of any local static variables for each translation
unit that uses the function.

More information about the Gcc-patches mailing list