comp.lang.ada
 help / color / mirror / Atom feed
* Behavior of Stream Attributes On Access Types.
@ 2002-06-10 19:38 Marin David Condic
  2002-06-11  5:33 ` R. Tim Coslet
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Marin David Condic @ 2002-06-10 19:38 UTC (permalink / raw)


I'm checking section 13.13.2 of the ARM to discover the default behavior of
the Stream 'Read, 'Write, 'Input and 'Output when they encounter an access
type. I'm not finding any clear indication of what gets put to the stream -
although there is a mention in paragraph 35 of raising Constraint_Error on
input if the value is not of its subtype. Can someone clarify the behavior?

My inclination is to think that the sensible thing would be to call the
'Read or 'Write for the thing pointed to by the access type, but this has
implications for dynamically allocated objects. Will it write/read a
(totally useless) access value?

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com






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

end of thread, other threads:[~2002-06-18 19:30 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-10 19:38 Behavior of Stream Attributes On Access Types Marin David Condic
2002-06-11  5:33 ` R. Tim Coslet
2002-06-11 14:15   ` Marin David Condic
2002-06-11 13:47 ` Ted Dennison
2002-06-11 14:27   ` Marin David Condic
2002-06-11 14:37     ` Marin David Condic
2002-06-12 14:19       ` David C. Hoos
2002-06-12 15:18         ` Marin David Condic
2002-06-13  3:00           ` David C. Hoos, Sr.
2002-06-14 18:27           ` Simon Wright
2002-06-14 18:53             ` Marin David Condic
2002-06-15 14:56               ` Simon Wright
2002-06-16  2:27                 ` Randy Brukardt
2002-06-17 14:31                   ` Marin David Condic
2002-06-18 19:30                     ` Randy Brukardt
2002-06-12 19:39       ` Randy Brukardt
2002-06-12 13:31     ` Ted Dennison
2002-06-11 21:56   ` Randy Brukardt
2002-06-12  3:44 ` David C. Hoos, Sr.

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