[Bug c++/19610] default constructor not called for static template member of template class

2005-01-24 Thread jamesp at trdlnk dot com
--- Additional Comments From jamesp at trdlnk dot com 2005-01-24 21:19 --- I've tried what you suggested, and it did work, but now I'm confused. Why was the constructor for aa2 called in the original example? Based on what you have said, it sounds like that should not hav

[Bug c++/19610] New: default constructor not called for static template member of template class

2005-01-24 Thread jamesp at trdlnk dot com
member of template class Product: gcc Version: 3.4.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jamesp at trdlnk dot

[Bug c++/19569] no code for explicit instantiation of template class specialization

2005-01-24 Thread jamesp at trdlnk dot com
--- Additional Comments From jamesp at trdlnk dot com 2005-01-24 14:55 --- It seems that paragraph 5 of 14.7.3 explains what I should have been doing. Sorry for the mix-up. James -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19569

[Bug c++/19569] no code for explicit instantiation of template class specialization

2005-01-24 Thread jamesp at trdlnk dot com
--- Additional Comments From jamesp at trdlnk dot com 2005-01-24 14:03 --- According to paragraph 7 of section 14.7.2 in the C++ standard, this is supposed to work as I described. I admit that the sample code I supplied doesn't show why this functionality is necessary, so I'

[Bug c++/19569] New: no code for explicit instantiation of template class specialization

2005-01-21 Thread jamesp at trdlnk dot com
o: unassigned at gcc dot gnu dot org ReportedBy: jamesp at trdlnk dot com CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19569