Re: [sv-bc] enumerated variable used with an equality operator

From: Daniel Mlynek <danielm@aldec.com.pl>
Date: Tue Mar 25 2014 - 23:43:54 PDT
static cast that is curently supported is not enough?
int'(enum_var) == number
?


DANiel

W dniu 3/25/2014 10:06 PM, Brad Pierce pisze:
> Why not require a method call to access the detailed encoding as in http://www.eda.org/svdb/view.php?id=4887 ?
>
>       enum_var.enum == number
>
> This makes salient the code locations that are dependent on details of the current encoding.
>
> -- Brad
>
>
>       
>


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Mar 25 23:44:24 2014

This archive was generated by hypermail 2.1.8 : Tue Mar 25 2014 - 23:44:28 PDT