Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!pacbell.com!lll-winken!cs!erickson From: erickson@cs.nps.navy.mil (David Erickson) Newsgroups: comp.lang.ada Subject: limited private types, "=" operator Message-ID: <1152@cs.nps.navy.mil> Date: 1 Aug 90 18:47:23 GMT Reply-To: erickson@cs.nps.navy.mil (David Erickson) Organization: Naval Postgraduate School, Monterey CA Lines: 11 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