RE: [sv-ec] assignment compatibility of null

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Mon Jun 08 2009 - 09:55:38 PDT
8.4 says,

Only the following operators are valid on object handles:
- Equality (==), inequality (!=) with another class object or with null. One of the objects being compared must be assignment compatible with the other.
- Case equality (===), case inequality (!==) with another class object or with null (same semantics as == and !=).
- Conditional operator (see 11.4.11).
- Assignment of a class object whose class datatype is assignment compatible with the target class object.
- Assignment of null. 

Shalom

> -----Original Message-----
> From: owner-sv-ec@server.eda.org 
> [mailto:owner-sv-ec@server.eda.org] On Behalf Of 
> jonathan.bromley@doulos.com
> Sent: Monday, June 08, 2009 6:59 PM
> To: sv-ec@server.eda.org
> Subject: [sv-ec] assignment compatibility of null
> 
> Just in case anyone has a few spare minutes...
> 
> While messing with 2380 I noted that I couldn't
> find anything in the LRM saying that the literal 
> "null" is assignment compatible to any class type.
> I'm sure we talked about this at some length 
> a while ago; can anyone kindly open my eyes 
> to where it's specified?
> 
> thanks
> -- 
> Jonathan Bromley
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Jun 8 09:57:17 2009

This archive was generated by hypermail 2.1.8 : Mon Jun 08 2009 - 09:58:00 PDT