c++/3080: Integer template parameter not matching
philippeb@corel.com
philippeb@corel.com
Thu Jun 7 18:16:00 GMT 2001
>Number: 3080
>Category: c++
>Synopsis: Integer template parameter not matching
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 07 18:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: gcc
>Release: gcc version 2.95.4 20010506 (Debian prerelease)
>Organization:
>Environment:
Debian Linux 686
>Description:
A template function failed to match a structure taking
<class _T, _T i> as template parameters.
>How-To-Repeat:
Try to match a function taking a structure with a constant template parameter (int(1) for example)
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="templateparameter-error.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="templateparameter-error.cpp"
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdGVtcGxhdGUgPGNsYXNzIF9ULCBfVCBpPiBzdHJ1Y3Qgc3Ry
IHt9OwoKdGVtcGxhdGUgPGNsYXNzIF9ULCBfVCBpPiB2b2lkIGZvbyhzdHI8X1QsIGk+ICYpCnsK
CWNvdXQgPDwgX19QUkVUVFlfRlVOQ1RJT05fXyA8PCBlbmRsOwp9CgppbnQgbWFpbigpCnsKCWZv
byhzdHI8aW50LCAxPigpKTsKfQo=
More information about the Gcc-bugs
mailing list