From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 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 List-Id: 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