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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,56131a5c3acc678e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-07 11:43:13 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Question about OO programming in Ada Date: Sun, 07 Dec 2003 19:30:45 +0100 Organization: AdaCL Message-ID: <1273941.m4G3ZzughP@linux1.krischik.com> References: <5JmdnUF_9o_ABE-iRTvUrg@rapidnet.com> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1070826170 06 16990 RdjsGU0vrJDait2 031207 19:42:50 X-Complaints-To: usenet-abuse@t-online.de X-ID: Zd4geOZFgeMRtAvQ+MLqKjKNkvm5gXNCpRms7n2BLx+zjKFxlfCt4G User-Agent: KNode/0.7.2 Xref: archiver1.google.com comp.lang.ada:3208 Date: 2003-12-07T19:30:45+01:00 List-Id: James Rogers wrote: > Hyman Rosen wrote in > news:l0BAb.601$kz2.183@nwrdny01.gnilink.net: > >> I don't think you do understand. For one, there is no "overhead" >> whatsoever in using a class for encapsulation. And in C++ a type may >> be the equivalent of tagged or not tagged, as you choose. > > Do you mean to say there is an equivalent of an un-tagged type for > C++ classes? Is this also equivalent to a Java "final" class? Yes. However there is no keyword for it - just a rule: don't add the "virtual" keyword. With Regards Martin -- mailto://krischik@users.sourceforge.net http://adacl.sourceforge.net