public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5613: g++ is unable to find the proper output operator '<<' for tenplate class with two template arguments
@ 2002-05-28 7:11 lerdsuwa
0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2002-05-28 7:11 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, kloska, nobody
Synopsis: g++ is unable to find the proper output operator '<<' for tenplate class with two template arguments
State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Tue May 28 07:10:05 2002
State-Changed-Why:
Fixed in GCC 3.0, 3.1.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5613
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/5613: g++ is unable to find the proper output operator '<<' for tenplate class with two template arguments
@ 2002-02-06 8:26 kloska
0 siblings, 0 replies; 2+ messages in thread
From: kloska @ 2002-02-06 8:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 5613
>Category: c++
>Synopsis: g++ is unable to find the proper output operator '<<' for tenplate class with two template arguments
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 06 08:26:05 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: kloska@scienion.de
>Release: 2.95.3
>Organization:
>Environment:
linux kernel 2.4
>Description:
g++ 2.95.3 is aunable to find the proper output operator '<<'
for a template class with two arguments in the form
template<class CODE,CODE DEFAULT>
class Container {
}
The logic behind this is that I wanted to create a
generic container of type CODE with the default
value DEFAULT.
It works fine with egcs-1.1.2 and the intel c++
>How-To-Repeat:
compile the attached file
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.cc"
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdGVtcGxhdGU8Y2xhc3MgVFlQRSxUWVBFIERFRkFVTFQ+IApj
bGFzcyBHYUdhIHsKcHVibGljOgogIC8vIHN0YW5kYXJkIGNvbnN0cnVjdG9yLiBJbml0aWFsaXpl
CiAgLy8gd2l0aCB0aGUgZGVmYXVsdCB2YWx1ZQogIEdhR2EoKSB7CiAgICBhPTExMTsKICB9OwoK
ICAvLyByZXRyaWV2ZSB0aGUgY3VycmVudCBjb250ZW50cwogIFRZUEUgZ2V0KCkgewogICAgcmV0
dXJuIGE7CiAgfQoKcHJpdmF0ZToKICBUWVBFIGE7Cn07Cgp0ZW1wbGF0ZTxjbGFzcyBUWVBFLFRZ
UEUgREVGQVVMVD4Kb3N0cmVhbSAmIG9wZXJhdG9yPDwob3N0cmVhbSAmIG9zLEdhR2E8VFlQRSxE
RUZBVUxUPiAmIGcpIHsKICBvcyA8PCAiIDw8ICIgPDwgZy5nZXQoKSA8PCAiID4+ICIgPDwgZW5k
bDsKICByZXR1cm4gb3M7Cn07CgppbnQgbWFpbigpCgp7CQogIEdhR2E8aW50LDExMT4gZzsKICBj
ZXJyIDw8IGcgPDwgZW5kbDsKICByZXR1cm4gMDsKfQoK
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-28 14:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-28 7:11 c++/5613: g++ is unable to find the proper output operator '<<' for tenplate class with two template arguments lerdsuwa
-- strict thread matches above, loose matches on Subject: below --
2002-02-06 8:26 kloska
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).