public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/6693: template classes, nested classes defined elsewhere (2.95, FreeBSD 4.5, en)
@ 2002-08-17 16:21 gdr
  0 siblings, 0 replies; 2+ messages in thread
From: gdr @ 2002-08-17 16:21 UTC (permalink / raw)
  To: derekv, gcc-bugs, gcc-prs, nobody

Synopsis: template classes, nested classes defined elsewhere (2.95, FreeBSD 4.5, en)

State-Changed-From-To: open->closed
State-Changed-By: gdr
State-Changed-When: Sat Aug 17 16:15:16 2002
State-Changed-Why:
    Appears to be fixed on mainline.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6693


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

* c++/6693: template classes, nested classes defined elsewhere (2.95, FreeBSD 4.5, en)
@ 2002-05-17  5:06 derekv
  0 siblings, 0 replies; 2+ messages in thread
From: derekv @ 2002-05-17  5:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6693
>Category:       c++
>Synopsis:       template classes, nested classes defined elsewhere (2.95, FreeBSD 4.5, en)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Fri May 17 05:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     derekv@chartermi.net
>Release:        2.95.3 20010315 (release) [FreeBSD]
>Organization:
>Environment:

>Description:
this code seems legal.
it involves nested classes inside template classes
and inheritance.  It works when you define the nested
class inline.
>How-To-Repeat:
compile scratch.C (no includes in file)
>Fix:
define nested class inline.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="scratch.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="scratch.C"

Cgp0ZW1wbGF0ZSA8Y2xhc3MgX2R0PgpjbGFzcyBBCnsKICBjbGFzcyBYOwp9OwoKdGVtcGxhdGU8
Y2xhc3MgX2R0PgpjbGFzcyBBPF9kdD46OlgKewogIF9kdCBpOwpwdWJsaWM6CiAgWChfZHQgSSkg
e2kgPSBJO307CiAgdmlydHVhbCBpbnQgZ2V0ZGF0YSgpIHsgcmV0dXJuIGk7fTsKfTsKCnRlbXBs
YXRlIDxjbGFzcyBfZHQ+CmNsYXNzIEIgOiBwdWJsaWMgQTxfZHQ+CnsKICBjbGFzcyBYOwp9OwoK
dGVtcGxhdGUgPGNsYXNzIF9kdD4KY2xhc3MgQjxfZHQ+OjpYIDogcHVibGljIEE8X2R0Pjo6WAp7
CiAgcHVibGljOgogIFgoX2R0IEkpIDogQTxfZHQ+OjpYKEkpIHt9OwogIGludCBnZXRkYXRhKCkg
eyByZXR1cm4gQTxfZHQ+OjpYOjpnZXRkYXRhKCkgKyAzOyB9Owp9OwoKCmludCBtYWluKCkKewog
IGNsYXNzIEI8aW50Pjo6WCBiYXIoNyk7CiAgcmV0dXJuIDA7Cn0K


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

end of thread, other threads:[~2002-08-17 23:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-17 16:21 c++/6693: template classes, nested classes defined elsewhere (2.95, FreeBSD 4.5, en) gdr
  -- strict thread matches above, loose matches on Subject: below --
2002-05-17  5:06 derekv

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).