RE: [sv-ec] Q: Should local or protected members of a class be excluded from a bit stream cast.

From: Rich, Dave <Dave_Rich_at_.....>
Date: Tue Mar 14 2006 - 07:15:37 PST
This raises a deeper issue. I thought the intent of local/protected was
just linting. You should be able to remove the 'local' and 'protected'
keywords from code that previously compiled with no change in
functionality. Therefore, bit-stream casts with local members should be
illegal (unless you are bit streaming 'this').

 

The latter seems a bit harsh, but are there other places local/protected
changes the semantics of an operator?

 

 

Dave

 

________________________________

From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of
Rich, Dave
Sent: Monday, March 13, 2006 11:13 AM
To: sv-ec@eda.org
Subject: [sv-ec] Q: Should local or protected members of a class be
excluded from a bit stream cast.

 

I think the answer should be yes, and this should be an erratum in the
LRM.

 

David Rich
Verification Technologist
Design Verification & Test Division
Mentor Graphics Corporation
dave_rich@mentor.com
Office:   408 487-7206
Cell:     510 589-2625

 
Received on Tue Mar 14 07:15:58 2006

This archive was generated by hypermail 2.1.8 : Tue Mar 14 2006 - 07:16:20 PST