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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b860b4e8d00468ef X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!uunet!ash.uu.net!spool.news.uu.net!not-for-mail Date: Thu, 19 Aug 2004 18:18:05 -0400 From: Hyman Rosen User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada access vs C/C++ pointers and references References: <87fz6irezx.fsf@insalien.org> In-Reply-To: <87fz6irezx.fsf@insalien.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Organization: KBC Financial Products Message-ID: <1092953885.630894@master.nyc.kbcfp.com> Cache-Post-Path: master.nyc.kbcfp.com!unknown@nightcrawler.nyc.kbcfp.com X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) NNTP-Posting-Host: 204.253.250.10 X-Trace: 1092953885 9213 204.253.250.10 Xref: g2news1.google.com comp.lang.ada:2878 Date: 2004-08-19T18:18:05-04:00 List-Id: Ludovic Brenta wrote: > For example, suppose I have: > smart_pointer* p; Don't Do That (tm). Smart pointers live to be passed around by value. If you start having pointers to them you will indeed drive yourself crazy, but it's your own fault.