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: 103376,29a06d546f6523a6,start X-Google-Attributes: gid103376,public From: vsnyder@math.jpl.nasa.gov (Van Snyder) Subject: Can't find the answer Date: 1997/11/22 Message-ID: <655s7e$ei9@netline.jpl.nasa.gov>#1/1 X-Deja-AN: 291540727 Organization: Jet Propulsion Laboratory Newsgroups: comp.lang.ada Date: 1997-11-22T00:00:00+00:00 List-Id: I looked in the Ada-95 standard, and in Barnes's book, and in Cohen's book, for the answer to the following question. I remember reading the answer long ago, but I forgot which way it went. And where I read it. Suppose I have a type T1, and extend it to a type T2. Suppose I have a procedure P that takes an argument of type T1, not T1'class. Can I invoke P directly on an object of type T2? Not a classwide object of T1'class, and not an object of type T2 converted explicitly to T1 by T1(). E-mail would help me most, but post, too, if you like. Van Snyder vsnyder@gyre.jpl.nasa.gov -- What fraction of Americans believe | Van Snyder Wrestling is real and NASA is fake? | vsnyder@math.jpl.nasa.gov