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,f039470e8f537101 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-30 09:57:00 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!freenix!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!adsl-213-200-246-247.cybernet.CH!not-for-mail From: Vinzent Hoefler Newsgroups: comp.lang.ada Subject: Re: Ariane5 FAQ Date: Wed, 30 Jul 2003 18:54:43 +0200 Organization: JeLlyFish software Message-ID: References: <3F248CEE.5050709@attbi.com> <3F25FB81.A81694FA@adaworks.com> <3F27638A.888BAEC4@adaworks.com> <3F27C236.F5234B9C@adaworks.com> <1059577616.650859@master.nyc.kbcfp.com> <1059583575.465653@master.nyc.kbcfp.com> Reply-To: v.hoefler@acm.org NNTP-Posting-Host: adsl-213-200-246-247.cybernet.ch (213.200.246.247) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de 1059584217 23224563 213.200.246.247 (16 [175126]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:41032 Date: 2003-07-30T18:54:43+02:00 List-Id: Hyman Rosen wrote: >Vinzent Hoefler wrote: >> But doesn't most C++-code rely on pointers? > > Or is that just bad C-like style? > >Yes and no. A lot of use of pointers goes away with >STL containers, since std::vector replaces plain arrays >in typical cases. Ok. >The remaining use for pointers is in >polymorphism, where you have a pointer to a base class >which may point to some derived object. Does SPARK >allow OO? It does, but... >If so, how? ... only statically. There is no dynamic dispatching, so there's no need for access types there. >If not, you can also avoid it in >C++ in the same way. Probably, yes. Vinzent.