comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: more to ada paper critic
Date: Tue, 18 Jun 2002 01:50:32 GMT
Date: 2002-06-18T01:50:32+00:00	[thread overview]
Message-ID: <3D0E91AB.9080202@telepath.com> (raw)
In-Reply-To: 3D0E2559.1080909@mail.com

Hyman Rosen wrote:
> Ted Dennison wrote:
> 
>> This must be a C++ idiom with which I'm unfamiliar. I thought C++
>> class declarations did not allow any part of the class's declaration
>> (like one of its fields) to be declared in a separate compilation.
> 
> 
> You're right. I think he's talking about the so-called "pimpl" technique,
> which isolates the implementation of a class into a file which is never
> seen by the user. The user only sees a class which has a set of methods,
> and one pointer to an implementation class.

Ahh. So this *is* just like using a private pointer to a deferred record 
type, except that we aren't as tempted to do it in Ada because we like 
to avoid pointers where possible.




  reply	other threads:[~2002-06-18  1:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17 10:28 more to ada paper critic Immanuel Scholz
2002-06-17 17:23 ` Ted Dennison
2002-06-17 18:07   ` Hyman Rosen
2002-06-18  1:50     ` Ted Dennison [this message]
2002-06-18  5:38       ` Eric G. Miller
2002-06-18 13:42     ` Immanuel Scholz
  -- strict thread matches above, loose matches on Subject: below --
2002-06-17 11:33 Grein, Christoph
2002-06-17 15:16 Gautier direct_replies_not_read
2002-06-17 15:26 Gautier direct_replies_not_read
2002-06-18 13:30 ` Immanuel Scholz
2002-06-18 13:35   ` Steve O'Neill
2002-06-18 17:59   ` Christoph Schlegel
2002-06-19 20:41     ` Immanuel Scholz
2002-06-20 19:39       ` Christoph Schlegel
2002-06-19 16:05   ` Britt Snodgrass
replies disabled

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