[comp.lang.ada] Types defining h/w r/o or w/o regis

stt@inmet.inmet.com (06/01/91)

Re: Read-only types

Rather than associating the Read-only-ness with the
type, I would associate it with the object.
The simplest implementation is to declare the object
in a package body, with an appropriate address clause,
and then define a parameterless function to return
the value of the object.  This function could be inlined.

S. Tucker Taft    stt@inmet.inmet.com
Intermetrics, Inc.
Cambridge, MA  02138