comp.lang.ada
 help / color / mirror / Atom feed
* Deallocation of Unbounded_String
@ 2009-07-25 16:37 vlc
  2009-07-25 17:09 ` sjw
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: vlc @ 2009-07-25 16:37 UTC (permalink / raw)


Hi *,

when using Unbounded_String, is it necessary to deallocate instances
of Unbounded_String after use or is there a kind of garbage collector
implemented?

There is a "Free" function in Ada.Strings.Unbounded, but it takes an
access to String as argument, not an access to Unbounded_String.

If I'm supposed to use this "Free" function to deallocate the memory
of my unused Unbounded_String, what is the correct usage of this
function (typecast of "access Unbounded_String" to "access String")?

Thanks a lot in advance!



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-07-25 19:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-25 16:37 Deallocation of Unbounded_String vlc
2009-07-25 17:09 ` sjw
2009-07-25 17:16   ` vlc
2009-07-25 17:18 ` Yannick Duchêne Hibou57
2009-07-25 19:17 ` Jeffrey R. Carter

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