* Re: PR3042
@ 2001-06-11 19:47 John David Anglin
0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2001-06-11 19:47 UTC (permalink / raw)
To: gcc, mark
> template <typename T> struct S {
> static int i;
> };
>
> template <typename T> int S<T>::i;
>
> template int S<double>::i;
>
> If this does not create a STRONG definition, nothing will, with the
> current behavior.
Works on hpux 10.20:
505 (hiauly1)dave> /usr/local/bin/nm -C strong.o
40000000 D S<double>::i
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-11 19:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-11 19:47 PR3042 John David Anglin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).