libstdc++/470: bind2nd or mem_fun doesn't take a function with reference argument

paisa@mit.edu paisa@mit.edu
Sun Aug 13 18:16:00 GMT 2000


>Number:         470
>Category:       libstdc++
>Synopsis:       bind2nd or mem_fun doesn't take a function with reference argument
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 13 18:16:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Paisa Seeluangsawat
>Release:        gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
IRIX 6.5
>Description:
The following code doesn't compile.
I'm not an expert in C++, but I believe it's legal.
>How-To-Repeat:
g++ test.cpp
>Fix:
Don't know
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.cpp"

I2luY2x1ZGUgPHZlY3Rvcj4NCiNpbmNsdWRlIDxhbGdvcml0aG0+DQojaW5jbHVkZSA8ZnVuY3Rp
b25hbD4NCg0KY2xhc3MgQSB7DQpwdWJsaWM6DQogIHZvaWQgZm4oY29uc3QgaW50ICZhKSB7fQ0K
ICAvL3RoZSBmb2xsb3dpbmcgdmVyc2lvbiBjb21waWxlcyBPSw0KICAvL3ZvaWQgZm4oY29uc3Qg
aW50IGEpIHt9DQp9Ow0KDQppbnQgbWFpbigpIHsNCiAgdmVjdG9yPEEqPiBhOw0KICBmb3JfZWFj
aChhLmJlZ2luKCksIGEuZW5kKCksIGJpbmQybmQobWVtX2Z1bigmQTo6Zm4pLCA5OSkpOw0KfQ0K
DQoNCg==


More information about the Gcc-prs mailing list