From mboxrd@z Thu Jan 1 00:00:00 1970 From: philippeb@corel.com To: gcc-gnats@gcc.gnu.org Subject: c++/3080: Integer template parameter not matching Date: Thu, 07 Jun 2001 18:16:00 -0000 Message-id: <20010608010750.11070.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg00269.html List-Id: >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 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=