Re: #includes



Neil B <NeilB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Class A has a variable in it's header which is Class B. Class B has a
variable in it's header which is Class A. How do you approach this
so your not chasing your tail??

You don't get into this situation in the first place. Think about it -
what would sizeof(A) be? Class A should be big enough to hold an
instance of B, which in turn should be big enough to hold an instance of
A, which should be big enough to ...
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: OT but related subject
    ... Martin P ... metal but as fast as I fix one another appears, so chasing my tail. ... And cheaper than anything you buy from Frost :-) ...
    (uk.rec.engines.stationary)
  • Chasing tails/tales [Re: Detachment and the real world]
    ... A good friend of mine used to have this dog, a Pomeranian called Taz. ... He was a prodigious tail chaser as well. ... I knew Taz for many years but we never became close friends. ... Seems since we lost our tails our tail chasing has just got somewhat more ...
    (talk.religion.buddhism)
  • Re: Agent View With nfilter-generated Flags
    ... I'm not chasing my tail, this filtering is working gorgeously. ... I've pretty much given up on the politics threads, ...
    (sci.electronics.design)
  • Re: Agent View With nfilter-generated Flags
    ... Jim Thompson wrote: ... I'm not chasing my tail, this filtering is working gorgeously. ...
    (sci.electronics.design)
  • Re: YADS IS CHASING HIS TAIL
    ... YADS IS CHASING HIS TAIL ... Go over to rec.arts.drwho.moderated troll AsYouLikeIt ...
    (rec.arts.drwho)