comp.lang.ada
 help / color / mirror / Atom feed
* RAII and Ada
@ 2009-01-02 21:46 Oliver Kowalke
  2009-01-02 23:41 ` Georg Bauhaus
  2009-01-03  0:15 ` Jeffrey Creem
  0 siblings, 2 replies; 3+ messages in thread
From: Oliver Kowalke @ 2009-01-02 21:46 UTC (permalink / raw)


Is it possible to use the RAII (Resource Acquisition Is Initialization)
pattern in Ada? It seams that destructors like C++ is not available in Ada
(I'm currently learning Ada).

Oliver



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

* Re: RAII and Ada
  2009-01-02 21:46 RAII and Ada Oliver Kowalke
@ 2009-01-02 23:41 ` Georg Bauhaus
  2009-01-03  0:15 ` Jeffrey Creem
  1 sibling, 0 replies; 3+ messages in thread
From: Georg Bauhaus @ 2009-01-02 23:41 UTC (permalink / raw)


Oliver Kowalke wrote:
> Is it possible to use the RAII (Resource Acquisition Is Initialization)
> pattern in Ada? It seams that destructors like C++ is not available in Ada
> (I'm currently learning Ada).

RAII in Ada has been adressed before; this thread has
many interesting bits:

"memory management in Ada: tedious without GC?"

http://groups.google.com/group/comp.lang.ada/browse_thread/thread/147f221051e5a63d?



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

* Re: RAII and Ada
  2009-01-02 21:46 RAII and Ada Oliver Kowalke
  2009-01-02 23:41 ` Georg Bauhaus
@ 2009-01-03  0:15 ` Jeffrey Creem
  1 sibling, 0 replies; 3+ messages in thread
From: Jeffrey Creem @ 2009-01-03  0:15 UTC (permalink / raw)


Oliver Kowalke wrote:
> Is it possible to use the RAII (Resource Acquisition Is Initialization)
> pattern in Ada? It seams that destructors like C++ is not available in Ada
> (I'm currently learning Ada).
> 
> Oliver
Have you looked at
  http://www.adaic.org/standards/95lrm/html/RM-7-6.html



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

end of thread, other threads:[~2009-01-03  0:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-02 21:46 RAII and Ada Oliver Kowalke
2009-01-02 23:41 ` Georg Bauhaus
2009-01-03  0:15 ` Jeffrey Creem

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