RE: [sv-ec] Scope resolution operator (::) to access class parameter assignments

From: Rich, Dave <Dave_Rich_at_.....>
Date: Tue Jun 20 2006 - 23:24:16 PDT
This brings up a related issue. Section 7.3 should define a class
property to include thing other than "data fields". It should be defined
to include variables, data types and parameters.

 

Dave

 

________________________________

From: owner-sv-ec@server.eda-stds.org
[mailto:owner-sv-ec@server.eda-stds.org] On Behalf Of Brad Pierce
Sent: Monday, June 19, 2006 11:35 PM
To: sv-ec@server.eda-stds.org
Subject: [sv-ec] Scope resolution operator (::) to access class
parameter assignments

 

Is it legal to access a parameter of a class specialization using the
scope resolution operator (::)?

 

For example, near the end of 7.23, would it be legal to refer to the
following?

 

                         Stack4::T::size

 

I would've assumed 'yes', but this is not explicitly mentioned in 7.21
and there are no examples of such usage in 7.23.

 

-- Brad

 

 

 

 
Received on Tue Jun 20 23:24:39 2006

This archive was generated by hypermail 2.1.8 : Tue Jun 20 2006 - 23:24:44 PDT