Re: [sv-bc] legal operators for unpacked arrays, structs, unions, classes?

From: Arturo Salz <Arturo.Salz_at_.....>
Date: Thu Feb 24 2005 - 23:09:48 PST
Francoise,

I believe you missed the assignment operator, which is supported
for unpacked data types. I don't know about the case and wildcard
operators.

    Arturo

----- Original Message ----- 
From: Francoise Martinolle 
To: sv-bc@eda.org 
Sent: Thursday, February 24, 2005 7:51 PM
Subject: [sv-bc] legal operators for unpacked arrays, structs, unions, classes?


I cannot find anywhere in the LRM what are the operators which 
are allowed on unpacked structs, unpacked unions or classes.
For arrays only equality/inequality are allowed (section 5.2).
It also says that comparing aggregate expressions require that they have
equivalent types (section 8.15)

Presumably the only operators allowed as equality (==) and inequality (!=)
and true and false expressions of  a ternary conditional operator?

What about the case equality/inequality and the wild card equality/inequality? 
Are they allowed on unpacked types?

Francoise
       '
Received on Thu Feb 24 23:09:16 2005

This archive was generated by hypermail 2.1.8 : Thu Feb 24 2005 - 23:09:25 PST