comp.lang.ada
 help / color / mirror / Atom feed
From: dweller@Starbase.NeoSoft.COM (David Weller)
Subject: Re: An Ada9X mimic of C++ friends?
Date: 7 Feb 1995 16:38:42 -0600
Date: 1995-02-07T16:38:42-06:00	[thread overview]
Message-ID: <3h8spi$dve@Starbase.NeoSoft.COM> (raw)
In-Reply-To: 3h7u4p$8cp@bellboy.ucc.uconn.edu

In article <3h7u4p$8cp@bellboy.ucc.uconn.edu>,
Donald M Needham <needham@newsserver.uconn.edu> wrote:
>Is there a construct in Ada9x that circumvents data abstraction
>similar to a friend in C++?
>
>needham@brc.uconn.edu
>

To answer the question in a general way, you can achieve it with
child libraries.  However, it's better to ask you to post an example.
FOr instance, because the concept of type and module are separated in
Ada, you don't have to go through the "friend" torture like you do in
C++ (where type(class) and module are (generally) the same).

-- 
      Frustrated with C, C++, Pascal, Fortran?  Ada95 _might_ be for you!
	  For all sorts of interesting Ada95 tidbits, run the command:
"finger dweller@starbase.neosoft.com | more" (or e-mail with "finger" as subj.)
	



  reply	other threads:[~1995-02-07 22:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-02-07 13:55 An Ada9X mimic of C++ friends? Donald M Needham
1995-02-07 22:38 ` David Weller [this message]
1995-02-08  9:32 ` Michel Gauthier
1995-02-08 16:27 ` Cyrille Comar
1995-02-09  5:55   ` John Howard
1995-02-09  9:59     ` Stephane Barbey
1995-02-09 21:16     ` Norman H. Cohen
1995-02-10 23:11     ` Cyrille Comar
  -- strict thread matches above, loose matches on Subject: below --
1995-02-07 19:56 Dave Papay M/S 7G32 x2791
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox