comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Re: C array to Ada pointer to unconstrained array without copying memory
Date: Wed, 08 Oct 2003 01:27:38 GMT
Date: 2003-10-08T01:27:38+00:00	[thread overview]
Message-ID: <eKJgb.2037$dn6.1262@newsread4.news.pas.earthlink.net> (raw)
In-Reply-To: <mailman.40.1065559101.25614.comp.lang.ada@ada-france.org>

Duncan Sands wrote:

> I'm a bit surprised you ask.  Your comment is analogous to "there is 
> generally no need to use pointers to strings".  And indeed, you often
>  don't need them, but there are plenty of legitimate, not to say
> essential uses for them.  I would like to pass a pointer to X all
> around my program.

Every time I've seen an example that needs pointers to String, it didn't
need pointers to String. Lots of people like to use pointers when
they're not necessary; the fact that you'd like to pass a pointer to X
all around your program doesn't mean you need to.

-- 
Jeff Carter
"My name is Jim, but most people call me ... Jim."
Blazing Saddles
39




  reply	other threads:[~2003-10-08  1:27 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-07 14:43 C array to Ada pointer to unconstrained array without copying memory Duncan Sands
2003-10-07 18:30 ` tmoran
2003-10-07 19:24   ` Duncan Sands
2003-10-08  0:02   ` sk
     [not found]   ` <3F83540E.5000302@myob.com>
2003-10-08  9:18     ` Duncan Sands
2003-10-07 20:00 ` Jeffrey Carter
2003-10-07 20:39   ` Duncan Sands
2003-10-08  1:27     ` Jeffrey Carter [this message]
2003-10-07 20:53 ` Chad R. Meiners
2003-10-07 21:24   ` Duncan Sands
2003-10-07 22:44     ` C array to Ada pointer to unconstrained array without copyingmemory Chad R. Meiners
2003-10-07 22:52       ` Chad R. Meiners
2003-10-08  9:20         ` Duncan Sands
2003-10-08 16:16           ` C array to Ada pointer to unconstrained array withoutcopyingmemory Chad R. Meiners
2003-10-08 16:49             ` Duncan Sands
2003-10-08  2:14     ` C array to Ada pointer to unconstrained array without copying memory Robert I. Eachus
2003-10-08  9:27       ` Duncan Sands
2003-10-08 22:43         ` Robert I. Eachus
2003-10-09  9:31           ` Duncan Sands
2003-10-08 14:07 ` Steve Adams
2003-10-08 14:33   ` Preben Randhol
2003-10-09 23:04     ` Steve Adams
2003-10-09 23:11       ` Steve Adams
2003-10-08 16:30   ` Duncan Sands
2003-10-09 22:59     ` C array to Ada pointer to unconstrained array without copyingmemory Steve Adams
2003-10-10  7:02       ` Duncan Sands
2003-10-10 16:44         ` C array to Ada pointer to unconstrained array withoutcopyingmemory Steve Adams
2003-10-23 21:27   ` C array to Ada pointer to unconstrained array without copying memory Craig Carey
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox