This came up in the past. See, for example, http://www.eda.org/sv-bc/hm/7337.html . Shalom > -----Original Message----- > From: owner-sv-bc@server.eda.org > [mailto:owner-sv-bc@server.eda.org] On Behalf Of Steven Sharp > Sent: Thursday, January 17, 2008 8:10 PM > To: spsaha@cal.interrasystems.com; sv-ec@server.eda.org; > sv-bc@server.eda.org; Dave_Rich@mentor.com > Subject: Re: [sv-ec] RE: [sv-bc] List of operators allowed on > class object > > > >I think it was an oversight not to include logical > operators. Any other > >operator that exposes the internal representation of a handle should > >remain illegal. > > First you would have to define how to derive the logical > truth value for a class handle. The existing definition of > being unequal to 0 will not work, since null is not > equivalent to 0 as it is in C. > > Then you could allow !, && and ||. > > Steven Sharp > sharp@cadence.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu Jan 17 19:54:07 2008
This archive was generated by hypermail 2.1.8 : Thu Jan 17 2008 - 19:54:50 PST