memory management
- From: alex goldman <hello@xxxxxxxx>
- Date: Wed, 25 May 2005 17:57:18 -0700
As I understood from reading the Ada tutorial for C/C++ programmers,
"access" is essentially like C++ smart pointer, except that you don't need
to do anything to dereference it.
How will the following work:
Record A contains "access" to record B;
record B contains "access" to record A.
If I create an instance of one of them with "new", will it be destroyed when
"access" to it goes out of scope?
.
- Follow-Ups:
- Re: memory management
- From: Robert A Duff
- Re: memory management
- From: David C. Hoos, Sr.
- Re: memory management
- Prev by Date: Re: Gnat STORAGE_ERROR
- Next by Date: Re: memory management
- Previous by thread: Using GNAT.Sockets with Streams and Byte Swapping
- Next by thread: Re: memory management
- Index(es):