From: leschkes@ferret.cig.mot.com (Scott Leschke)
Subject: Re: Type conversion between access types (was: Free'ing extended types)
Date: 1996/05/22
Date: 1996-05-22T00:00:00+00:00 [thread overview]
Message-ID: <leschkes.832803959@ferret> (raw)
In-Reply-To: DrqLG3.1r0@world.std.com
bobduff@world.std.com (Robert A Duff) writes:
>Yes, if you add the 'all' modifier, the restriction goes "out the
>window". You can convert *to* an 'all' access type, so long as the
>designated subtypes match. But you had better be careful about storage
>pools -- if you deallocate from the wrong type, it's erroneous.
So what about 'all' causes the conversion to be allowed? I looked at
section 4.6 of the LRM but got a tad confused?
--
Scott Leschke.........................email: leschkes@cig.mot.com
Motorola, Inc............................ph: 847-632-2786
1501 W Shure Drive......................fax: 847-632-3145
Arlington Heights, IL 60004......mailstop: 1301
next prev parent reply other threads:[~1996-05-22 0:00 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-28 0:00 Free'ing extended types Jonas Nygren
1996-04-28 0:00 ` Robert Dewar
1996-04-29 0:00 ` Jonas Nygren
1996-04-29 0:00 ` Robert A Duff
1996-04-29 0:00 ` Jonas Nygren
1996-04-29 0:00 ` Robert Dewar
1996-04-29 0:00 ` Robert A Duff
1996-05-20 0:00 ` Type conversion between access types (was: Free'ing extended types) Scott Leschke
1996-05-21 0:00 ` Dale Stanbrough
1996-05-21 0:00 ` Robert A Duff
1996-05-21 0:00 ` Robert A Duff
1996-05-22 0:00 ` Scott Leschke [this message]
1996-05-23 0:00 ` Robert A Duff
1996-05-23 0:00 ` progers
1996-05-24 0:00 ` Scott Leschke
1996-05-24 0:00 ` Robert A Duff
1996-04-29 0:00 ` Free'ing extended types Laurent Guerby
1996-04-29 0:00 ` Robert A Duff
1996-04-29 0:00 ` Laurent Guerby
1996-04-29 0:00 ` Robert A Duff
1996-04-29 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox