RE: [sv-ec] Re: [sv-bc] operators and data type compatibility rules

From: Rich, Dave <Dave_Rich_at_.....>
Date: Fri Sep 15 2006 - 21:57:58 PDT
> 
> Another solution would be to require one of the expressions to have a
> type that is assignment compatible with the other.  Whichever one can
> be assigned from the other (i.e. the base class) is the type of the
> result.
> 
>
[DR>] I think this is the best solution. It is also what is needed for
b==c. The two classes much match, or one has to be on an upwards path in
the class hierarchy.
Received on Fri Sep 15 21:58:03 2006

This archive was generated by hypermail 2.1.8 : Fri Sep 15 2006 - 21:58:10 PDT