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,e67a94e45ae33316 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-08 03:07:51 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!news-han1.dfn.de!news.fh-hannover.de!news.cid.net!news.enyo.de!news1.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Another good URL for all you C++ haters Date: Sat, 08 Sep 2001 12:11:11 +0200 Organization: Enyo's not your organization Message-ID: <877kvadmbk.fsf@deneb.enyo.de> References: <3b9604b1.10736828@news.geccs.gecm.com> <87u1yhmitg.fsf@deneb.enyo.de> <3B9909EC.249E165D@avercom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Xref: archiver1.google.com comp.lang.ada:12927 Date: 2001-09-08T12:11:11+02:00 List-Id: Tucker Taft writes: > Ada requires the full definition of a private type to be > in the package spec, but it doesn't require the declaration > of "helper" functions the way C++ does. Helper functions > can be declared in the package body, without perturbing the spec. If you do this, these helper subprograms aren't primitive operations, are they? In C++, it is possible to have private virtual member functions. I'm not sure if you really need them in C++ (perhaps for something RTTI-related things?), and you can probably use class-wide programming to achieve the same effect in Ada.