comp.lang.ada
 help / color / mirror / Atom feed
From: lutz@iks-jena.de (Lutz Donnerhacke)
Subject: Re: Return by reference
Date: 1999/11/04
Date: 1999-11-04T00:00:00+00:00	[thread overview]
Message-ID: <slrn8236e7.sd.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: Pine.BSF.4.10.9911032055450.14434-100000@shell5.ba.best.com

* Brian Rogoff wrote:
>Thanks for the code, but I already know how to do this with a type whose 
>public view is limited and its private view, not limited. I was wondering
>if I can do this entirely with minimal potential copying.

Of course it is possible. The idea is to deal with a pointer to a dynamic
array only. The Format function allocates and the To_String function
releases the memory.

Please drop me any notes on the source or include it to other projects.
ftp://ftp.iks-jena.de/pub/mitarb/lutz/ada/formatted_print/




  reply	other threads:[~1999-11-04  0:00 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-01  0:00 Return by reference Brian Rogoff
1999-11-02  0:00 ` Lutz Donnerhacke
1999-11-02  0:00 ` Robert A Duff
1999-11-02  0:00   ` Brian Rogoff
1999-11-03  0:00     ` Matthew Heaney
1999-11-03  0:00       ` Brian Rogoff
1999-11-03  0:00       ` Matthew Heaney
1999-11-03  0:00     ` Lutz Donnerhacke
1999-11-03  0:00       ` Brian Rogoff
1999-11-04  0:00         ` Lutz Donnerhacke [this message]
1999-11-06  0:00           ` Brian Rogoff
1999-11-07  0:00             ` Lutz Donnerhacke
1999-11-04  0:00       ` Robert A Duff
  -- strict thread matches above, loose matches on Subject: below --
2017-12-17 14:38 Jere
2017-12-17 14:57 ` Dmitry A. Kazakov
2017-12-18  0:51   ` Mehdi Saada
2017-12-18  8:18     ` Dmitry A. Kazakov
2017-12-18 10:47       ` Mehdi Saada
2017-12-18 12:16         ` Dmitry A. Kazakov
2017-12-18 22:41     ` Randy Brukardt
2017-12-18 22:33 ` Randy Brukardt
2017-12-19  1:29   ` Jere
replies disabled

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