comp.lang.ada
 help / color / mirror / Atom feed
From: Eric Hughes <eric.eh9@gmail.com>
Subject: Re: Limited initialization for non-limited types
Date: Tue, 1 Apr 2008 20:00:02 -0700 (PDT)
Date: 2008-04-01T20:00:02-07:00	[thread overview]
Message-ID: <d14817dd-748e-4029-aff6-756ec6840431@s37g2000prg.googlegroups.com> (raw)
In-Reply-To: 8ce4085b-08c9-4f3b-9909-3a68b8832194@s8g2000prg.googlegroups.com

On Mar 28, 9:25 am, I wrote:
> A discriminant whose access_definition is a handle to ordinary
> record seems to allow most everything I can think I need soon.

Except this doesn't work at all.  The problem is that it completely
breaks assignment (duh), giving a constraint error at run-time.  I'm
back to working with hacking up the equivalent of private record
components.  Proper initialization is still the problem, particular
initializing exactly one variable with its unique name.  (I finally
figured out I was seeing extra trace entries for the temporaries
mimicking as the variable-of-interest during the initialization-with-
an-ordinary-function assignment.)

Eric




  parent reply	other threads:[~2008-04-02  3:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-26 13:26 Limited initialization for non-limited types Eric Hughes
2008-03-26 14:02 ` Robert A Duff
2008-03-27  0:07   ` Eric Hughes
2008-03-26 15:08 ` Dmitry A. Kazakov
2008-03-26 22:13 ` Randy Brukardt
2008-03-27  3:25   ` Eric Hughes
2008-03-28  6:56     ` Randy Brukardt
2008-03-28 15:25       ` Eric Hughes
2008-03-28 21:53         ` Randy Brukardt
2008-03-28 23:37           ` Eric Hughes
2008-04-02  3:00         ` Eric Hughes [this message]
2008-03-26 23:00 ` Lucretia
2008-03-28 11:23 ` Martin Krischik
2008-03-28 15:47   ` Eric Hughes
2008-04-02  4:06 ` Eric Hughes
replies disabled

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