Contents Index Search Previous Next
13.11.3 Pragma Controlled
Pragma Controlled is used to prevent any automatic
reclamation of storage (garbage collection) for the objects created by
allocators of a given access type.
The form of
a pragma Controlled is as follows:
of a pragma Controlled shall denote
a non-derived access subtype.
Controlled is a representation pragma
specifies the controlled
aspect of representation.
is a process that automatically reclaims storage, or moves objects to
a different address, while the objects still exist.
If a pragma
Controlled is specified for an access type with a standard storage pool,
then garbage collection is not performed for objects in that pool.
An implementation need not support garbage collection,
in which case, a pragma Controlled has no effect.
Contents Index Search Previous Next Legal