From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8b8748382fcfacc1 X-Google-Attributes: gid103376,public From: Florian Weimer Subject: Re: friend classes in ada95 Date: 2000/04/14 Message-ID: <87wvm1gmne.fsf@deneb.cygnus.argh.org>#1/1 X-Deja-AN: 611020976 References: <38F6B617.34E216A7@emw.ericsson.se> Mail-Copies-To: never Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@cygnus.argh.org X-Trace: deneb.cygnus.argh.org 955697749 4521 192.168.1.2 (14 Apr 2000 07:35:49 GMT) Organization: Penguin on board User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.6 Mime-Version: 1.0 Reply-To: Florian Weimer NNTP-Posting-Date: 14 Apr 2000 07:35:49 GMT Newsgroups: comp.lang.ada Date: 2000-04-14T07:35:49+00:00 List-Id: Stefan Folkesson writes: > The reason I wonder this is because I want to apply the 'Iterator > Pattern' in my design. This demands that the Iterator object can access > the attributes of the Aggregate object. Can you declare Aggregate and Iterator in the same package?