[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 pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-24 14:30 --- So this is not a bug, so closing. -- What|Removed |Added Status|WAITING

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

2005-01-24 Thread lerdsuwa at gcc dot gnu dot org
--- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-24 14:27 --- There is a defect report DR259 about this issue: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#259 According to the DR, the original standard mentions that the instantiation: template cl

[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'll try to ex

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

2005-01-22 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-01-22 18:37 --- Why? The function you want is inline. I would rather claim that the instantiation of the function in the general template is wrong, although arguably it doesn't matter since it is marked weak. You will have