c++/5435: Resolution of templates with thing[] types
guillaume.lemaitre33@wanadoo.fr
guillaume.lemaitre33@wanadoo.fr
Sun Jan 20 03:06:00 GMT 2002
>Number: 5435
>Category: c++
>Synopsis: Resolution of templates with thing[] types
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Sun Jan 20 03:06:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: guillaume.lemaitre33@wanadoo.fr
>Release: gcc-3.0.2 && gcc-3.0.3
>Organization:
>Environment:
Linux Mandrake 8.1 - Duron 1 GHz
>Description:
instanciation of template that supposed to take the
address of a generic container as argument with the address
of a int[] doesn't work
the short example linked with show that erroneus behaviour
>How-To-Repeat:
g++ -Wall -ansi template.cc -o template
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="template.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="template.cc"
dGVtcGxhdGU8IHR5cGVuYW1lIENvbnRhaW5lckFkZHJlc3NfID4Kdm9pZCBmKCBDb250YWluZXJB
ZGRyZXNzXyBwX2luICkgewp9CgppbnQgbWFpbiggY29uc3QgaW50IGFyZ2MsIGNoYXIgKiBhcmd2
W10gKSB7CiAgaW50IG1vZlthcmdjXTsKCiAgZiggJm1vZiApOwogIAogIHJldHVybiAwOwp9CiAg
Cg==
More information about the Gcc-bugs
mailing list