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 X-Google-Thread: 103376,aa7f494bf30adbc7 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news1.google.com!news.glorb.com!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!news.webusenet.com.MISMATCH!chi1.usenetserver.com!news.usenetserver.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed.pnap.net!brmea-news-1.sun.com!news1nwk.sfbay.sun.com!new-usenet.uk.sun.com!not-for-mail From: Ole-Hjalmar Kristensen Newsgroups: comp.lang.ada Subject: Re: [newbie] simple(?) data structures Date: 18 Jun 2004 11:55:22 +0200 Organization: Sun Microsystems Message-ID: References: <2j1e30Fsrg8vU1@uni-berlin.de> <2jao1qFvj2rgU1@uni-berlin.de> <2jc33qFv3sitU1@uni-berlin.de> <1087475845.607135@master.nyc.kbcfp.com> <7MgAc.96169$dP1.314202@newsc.telia.net> NNTP-Posting-Host: europa1.norway.sun.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: new-usenet.uk.sun.com 1087552522 12411 129.159.113.161 (18 Jun 2004 09:55:22 GMT) X-Complaints-To: usenet@new-usenet.uk.sun.com NNTP-Posting-Date: 18 Jun 2004 09:55:22 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Xref: g2news1.google.com comp.lang.ada:1651 Date: 2004-06-18T09:55:22+00:00 List-Id: Bj�rn Persson writes: > Hyman Rosen wrote: > > > It's mainly about string handling, since that's where > > most of C's pointer manipulation takes place. > > And out parameters. > > -- > Bj�rn Persson > > jor ers @sv ge. > b n_p son eri nu > C++ has by-reference parameter passing if you want, so you don't need to use pointers for out parameters. However, as you cannot see from the signature of a function (except as a comment) whether the function modifies your parameter of not, I find this a mixed blessing. -- C++: The power, elegance and simplicity of a hand grenade.