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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a64004e5f547b1ed X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-17 18:50:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!csulb.edu!newshub.sdsu.edu!west.cox.net!cox.net!p02!news2.east.cox.net.POSTED!53ab2750!not-for-mail Message-ID: <3D0E91AB.9080202@telepath.com> From: Ted Dennison User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: more to ada paper critic References: <4519e058.0206170923.5b278bfe@posting.google.com> <3D0E2559.1080909@mail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 18 Jun 2002 01:50:32 GMT NNTP-Posting-Host: 68.12.51.201 X-Complaints-To: abuse@cox.net X-Trace: news2.east.cox.net 1024365032 68.12.51.201 (Mon, 17 Jun 2002 21:50:32 EDT) NNTP-Posting-Date: Mon, 17 Jun 2002 21:50:32 EDT Organization: Cox Communications Xref: archiver1.google.com comp.lang.ada:26193 Date: 2002-06-18T01:50:32+00:00 List-Id: 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.