public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/7110: parse error when declare function pointer returning T in class T
@ 2002-06-24 15:26 rdabrowa
  0 siblings, 0 replies; only message in thread
From: rdabrowa @ 2002-06-24 15:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7110
>Category:       c++
>Synopsis:       parse error when declare function pointer returning T in class T
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 24 14:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Rafal Dabrowa
>Release:        vary (2.96, 3.1)
>Organization:
>Environment:

>Description:
compiler announces parse error at declaration
of pointer to function, which returns an object of
type being declared
>How-To-Repeat:
compile the following code:
class A {
    A (*m_pf)();
    typedef A (*T_FUN)();
};
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-24 21:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-24 15:26 c++/7110: parse error when declare function pointer returning T in class T rdabrowa

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