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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,2f84446733b06aca X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,2f84446733b06aca X-Google-Attributes: gid103376,public From: mheaney@ni.net (Matthew Heaney) Subject: Re: Converting C++ class to Ada Date: 1996/12/18 Message-ID: #1/1 X-Deja-AN: 204860895 references: <32ADF183.7195@lmtas.lmco.com> <32B05137.733A@lmtas.lmco.com> content-type: text/plain; charset=ISO-8859-1 organization: Estormza Software mime-version: 1.0 newsgroups: comp.lang.ada,comp.lang.c++ Date: 1996-12-18T00:00:00+00:00 List-Id: In article , jsa@alexandria (Jon S Anthony) wrote: >> Also, if I wanted to make sure that "null" wasn't used as one of the >> discriminants, would I have to use "access Motor.Object_Type" rather >> than the declared access type? > >Neither will prevent that. I thought that access discriminants (and parameters) without an explicit type raise Program_Error when you pass "null" as the value? -------------------------------------------------------------------- Matthew Heaney Software Development Consultant mheaney@ni.net (818) 985-1271