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,22abd56c6e8153c0,start X-Google-Attributes: gid103376,public From: xwang@site.gmu.edu (Xiangmix Wang) Subject: Re: Overloaded Operators, Universal_Floats, and implicit conversions Date: 1996/02/21 Message-ID: <4gfmgd$l6u@portal.gmu.edu>#1/1 X-Deja-AN: 140480386 content-type: text/plain; charset=US-ASCII organization: George Mason University, Fairfax, Virginia, USA mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-02-21T00:00:00+00:00 List-Id: The original message is not that clear. But I think, the problem is the compiler can not resolve teh overloaded symbol "/" to the unique operotor. After yuou declare your ouwn operator "/", you have two profiles, FEET, FEET -> FEET FEET, FLOAT -> FEET When 2.0 is used for teh second parameter, teh compiler does not know which type it should convert 2.0 to. You can tell whether this is true from teh compiler produced message. : BTW, declaring your own floating point types by means of "digits" is : far better practise than to derive from float. I agree. xwang