comp.lang.ada
 help / color / mirror / Atom feed
From: stt@inmet.inmet.com
Subject: Re: Types defining h/w r/o or w/o regis
Date: 1 Jun 91 10:01:00 GMT	[thread overview]
Message-ID: <20600105@inmet> (raw)
In-Reply-To: 3949@titan.tsd.arlut.utexas.edu


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

  parent reply	other threads:[~1991-06-01 10:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-05-30 13:03 Types defining h/w r/o or w/o registers Don Gardner
1991-05-31 17:03 ` david.c.willett
1991-05-31 17:10   ` david.c.willett
1991-05-31 17:26 ` J o s e D u a r t e
1991-06-01  8:34   ` Orville R. Weyrich
1991-06-01 10:01 ` stt [this message]
1991-06-02 16:54 ` rharwood
1991-06-03  7:57   ` Orville R. Weyrich
1991-06-04 14:08     ` John Goodenough
1991-06-04 14:48     ` Anthony Shipman
1991-06-05 13:59       ` John Goodenough
replies disabled

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