c++/10111: Parse error for default template parameter
philippeb@videotron.ca
philippeb@videotron.ca
Sun Mar 16 18:48:00 GMT 2003
>Number: 10111
>Category: c++
>Synopsis: Parse error for default template parameter
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 16 16:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: gcc
>Release: 3.0.4
>Organization:
>Environment:
Debian GNU / Linux
>Description:
The default parameter of template type is generating a parse error.
>How-To-Repeat:
>Fix:
Write seperate member function with no default argument of this type.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="ice.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="ice.cpp"
I2luY2x1ZGUgPGlvc3RyZWFtPgoKCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgoKdGVtcGxhdGUgPGNs
YXNzIFQsIGNsYXNzIFU+CglzdHJ1Y3QgdnQKCXsKCQlzdGF0aWMgaW50IHZhbHVlOwoJfTsKCnRl
bXBsYXRlIDxjbGFzcyBULCBjbGFzcyBVPgoJaW50IHZ0PFQsIFU+Ojp2YWx1ZTsKCgpzdHJ1Y3Qg
QQp7CglBKGludCAqIGFfcCA9ICYgdHlwZW5hbWUgdnQ8aW50LCBpbnQ+Ojp2YWx1ZSkge30KfTsK
CgppbnQgbWFpbigpCnsKCUEgYTsKfQo=
More information about the Gcc-bugs
mailing list