From: bjorn rohde jensen <shamus@tdcadsl.dk>
To: polux moon <polux.moon@wanadoo.fr>
Cc: gcc-help@gcc.gnu.org
Subject: Re: mutual recursive class
Date: Sun, 19 May 2002 04:37:00 -0000 [thread overview]
Message-ID: <3CE78D2B.7ECD51B9@tdcadsl.dk> (raw)
In-Reply-To: <001401c1ff1f$9559bd80$0100a8c0@hp>
Hi
Since you are only using class B in name in class A,
forward declaring class B should be enough.
Yours sincerely,
Bjorn
polux moon wrote:
>
> How do you declare mutual recursiv class ?
> example:
>
class B;
> class A{
> B* b;
> };
>
> class B{
> A* a;
> };
prev parent reply other threads:[~2002-05-19 11:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-19 3:26 polux moon
2002-05-19 4:37 ` bjorn rohde jensen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3CE78D2B.7ECD51B9@tdcadsl.dk \
--to=shamus@tdcadsl.dk \
--cc=gcc-help@gcc.gnu.org \
--cc=polux.moon@wanadoo.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).