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,faf469c89f73f91d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-20 15:52:31 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Matthew Heaney" Newsgroups: comp.lang.ada Subject: Re: Package Instances??? Date: Wed, 20 Feb 2002 18:44:32 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <721b6d80.0202131302.1ccce2ed@posting.google.com> <3C6BFAFC.7060902@mail.com> <3C73F5F6.7050704@mail.com> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:20186 Date: 2002-02-20T18:44:32-05:00 List-Id: "Hyman Rosen" wrote in message news:3C73F5F6.7050704@mail.com... > Given that C++ classes can have arbitrary > things defined in them (types, static functions, constants, etc.) > considering them as an analogue of Ada packages is not wrong. But it is wrong if your purpose is to implement a type, so that you can declare objects, which you can pass to subprograms, etc. The fact that in C++ you can declare things inside the class is irrelevent.