From: erickson@cs.nps.navy.mil (David Erickson)
Subject: limited private types, "=" operator
Date: 1 Aug 90 18:47:23 GMT [thread overview]
Message-ID: <1152@cs.nps.navy.mil> (raw)
Is there any way to define "=" for a limited private type which is an
access type (which may be null)? The problem arises trying to test for
null without producing an infinitely recursive definition.
The only solution that I am aware of is to use UNCHECKED_CONVERSION to
retype the access type during the test for null, but this is a hack.
Is there a cleaner solution?
Thanks -
Dave Erickson
next reply other threads:[~1990-08-01 18:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1990-08-01 18:47 David Erickson [this message]
1990-08-02 3:34 ` limited private types, "=" operator mackey
1990-08-02 17:46 ` David Kassover
1990-08-03 16:01 ` David Erickson
1990-08-04 0:01 ` Charles H. Sampson
1990-08-09 17:19 ` Clay Johnson
1990-08-10 16:20 ` David Erickson
-- strict thread matches above, loose matches on Subject: below --
1990-08-02 13:44 "Norman H. Cohen"
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox