public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3080: Integer template parameter not matching
@ 2001-06-07 18:16 philippeb
  0 siblings, 0 replies; 2+ messages in thread
From: philippeb @ 2001-06-07 18:16 UTC (permalink / raw)
  To: gcc-gnats

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/3080: Integer template parameter not matching
@ 2001-08-10  7:45 lerdsuwa
  0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2001-08-10  7:45 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, philippeb

Synopsis: Integer template parameter not matching

State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Fri Aug 10 07:45:29 2001
State-Changed-Why:
    Not a bug.  Perhaps you meant
      template <class _T, _T i> void foo(str<_T, i>)
    or
      template <class _T, _T i> void foo(const str<_T, i>&)
    ?

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3080&database=gcc


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-10  7:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-07 18:16 c++/3080: Integer template parameter not matching philippeb
2001-08-10  7:45 lerdsuwa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).