From: Vincent Marciante <marciant_antispam@li.net>
Subject: Re: When to use 'Class in a parameter list
Date: Mon, 23 Jul 2001 22:22:02 -0400
Date: 2001-07-23T22:22:02-04:00 [thread overview]
Message-ID: <3B5CDBCA.5810@li.net> (raw)
In-Reply-To: 9ji1b3$4pi$1@nh.pace.co.uk
Marin David Condic wrote:
>
> In code:
>
> procedure Op (Base : in out Base_Type) ;
> ...
> X : Child_Type ;
> ...
> Op (X) ; -- Why is this working without a Base_Type (X) conversion???
>
Assuming that Op is defined as a primative of Base_Type then
a procedure
procedure Op (Base : in out Child_Type) ;
automaticaly exists as a consequence of having derived
Child_Type from Base_Type.
This is the case for all derived types and has nothing
to do with the taggedness of the types in question.
next prev parent reply other threads:[~2001-07-24 2:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-23 20:27 When to use 'Class in a parameter list Marin David Condic
2001-07-23 21:39 ` Ehud Lamm
2001-07-24 12:49 ` Marin David Condic
2001-07-24 14:39 ` Dmitry A. Kazakov
2001-07-24 15:16 ` Ehud Lamm
2001-07-24 17:16 ` Marin David Condic
2001-07-23 22:55 ` Stephen Leake
2001-07-25 19:20 ` Deligation with Ada95 Hans-Olof Danielsson
2001-07-26 2:06 ` Lao Xiao Hai
2001-07-24 2:22 ` Vincent Marciante [this message]
2001-07-24 12:52 ` When to use 'Class in a parameter list Marin David Condic
2001-07-24 14:36 ` Ed Falis
2001-07-24 15:29 ` Ehud Lamm
2001-10-29 22:52 ` Matthew Heaney
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox