--- 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
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
--- 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
--- 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'
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