[Bug c++/12830] Static template member variable not instantiated
troyer at itp dot phys dot ethz dot ch
gcc-bugzilla@gcc.gnu.org
Wed Oct 29 20:20:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12830
------- Additional Comments From troyer at itp dot phys dot ethz dot ch 2003-10-29 20:17 -------
Subject: Re: Static template member variable not instantiated
On Oct 29, 2003, at 8:53 PM, pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org
> 2003-10-29 19:53 -------
> Not really a bug, you have explicantely instantiate the template your
> self as darwin does not have
> weak support in the FSF's GCC.
The code was an excerpt from a more complex template class where
explicit instantiation of the complete class might not be possible.
Does one need to instantiate each and every static data member
explicitly? If so, I would call this a bug.
Matthias Troyer
More information about the Gcc-bugs
mailing list