This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++/752: template function cannot access embedded type of parameter type



>Number:         752
>Category:       c++
>Synopsis:       template function cannot access embedded type of parameter type
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 08 11:46:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     John Ruttenberg
>Release:        2.95-2, 2.96
>Organization:
>Environment:
rh linux (6.2 and 7.0)
>Description:
I think the attached is correct.  KCC handles it.  But g++ 
finds a syntax error.
>How-To-Repeat:
g++ x.cxx
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="x.cxx"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="x.cxx"

I2luY2x1ZGUgPGxpc3QuaD4KI2luY2x1ZGUgPGlvc3RyZWFtLmg+Cgp0ZW1wbGF0ZSA8Y2xhc3Mg
WD4Kdm9pZCBmb28oWCYgeCkKewogIGZvciAoWDo6aXRlcmF0b3IgaXQgPSB4LmJlZ2luKCk7IGl0
ICE9IHguZW5kKCk7ICsraXQpCiAgICBjb3V0IDw8ICppdCA8PCBlbmRsOwp9CgoKbWFpbigpCnsK
ICBsaXN0PGludD4gbGk7CgogIGZvciAoaW50IGkgPSAwOyBpIDwgMTA7ICsraSkKICAgIGxpLnB1
c2hfYmFjayhpKTsKCiAgZm9vKGxpKTsKfQoKICAgIAogICAgCg==

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]