comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@bix.com
Subject: Re: meaning of "current instance"
Date: 1999/11/15
Date: 1999-11-15T00:00:00+00:00	[thread overview]
Message-ID: <xkZX3.14600$dp.430483@typhoon-sf.snfc21.pbi.net> (raw)
In-Reply-To: 38304D11.204F156A@averstar.com

>This is illegal, even if you use 'Unchecked_Access, unless T is limited,
Two out of the three compilers on my machine accept:
  package junk1 is
     type T is tagged private;
     function Init (O : access T'Class) return integer;
  private
     type T is
       tagged record
         I : Integer := Init (T'Access);
       end record;
  end junk1;
with no "limited".  I take it they are in error?




  reply	other threads:[~1999-11-15  0:00 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-11  0:00 meaning of "current instance" Matthew Heaney
1999-11-11  0:00 ` Robert A Duff
1999-11-11  0:00   ` Matthew Heaney
1999-11-11  0:00     ` Tucker Taft
1999-11-15  0:00   ` Tucker Taft
1999-11-15  0:00     ` tmoran [this message]
1999-11-15  0:00       ` Tucker Taft
1999-11-11  0:00 ` tmoran
1999-11-11  0:00   ` Matthew Heaney
1999-11-12  0:00     ` tmoran
1999-11-11  0:00       ` Matthew Heaney
1999-11-12  0:00         ` tmoran
1999-11-12  0:00           ` Matthew Heaney
1999-11-12  0:00             ` tmoran
1999-11-12  0:00               ` Matthew Heaney
1999-11-13  0:00             ` Robert A Duff
1999-11-13  0:00           ` Nick Roberts
1999-11-13  0:00             ` Robert A Duff
1999-11-14  0:00               ` tmoran
1999-11-13  0:00                 ` Matthew Heaney
1999-11-15  0:00                   ` John English
1999-11-15  0:00                     ` Matthew Heaney
replies disabled

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