Subject: Re: [sv-ec] class scope resolution operator
From: Francoise Martinolle (fm@cadence.com)
Date: Thu Mar 13 2003 - 09:20:14 PST
Comments and questions:
Section 11.8.1:
static task foo(); ... endtask // static class method with automatic
variable lifetime
task static bar(); ... endtask // non-static class method with static
variable lifetime
In the declaration for bar, does the static keyword applies to the
variables defined in the
task bar? Is it specific to tasks and functions declared in classes?
Section of 11.20:
I would like to replace the :: with the normal . used in Verilog for scope
delimitor.
"Class-scope resolved expressions
can be read (in expressions), written (in assignments or subroutines calls)
or triggered off (in event expressions)."
I think you may want to replace "expressions" with "names".
The following sentence is unclear in its meaning:
"Type declarations nested inside a class scope are public and can be
accessed outside
the class."
Yes they may be public but they have to be accessed through the parent
class scope.
Adding something like that would be more clear, otherwise, it seems that
nested class
types can be accessed directly without scope nesting. I suggest to add "
can be accessed
outside the class through the appropriate nested scope path.
Francoise
'
03:19 AM 3/12/2003 -0800, Arturo Salz wrote:
>Greetings,
>
>Attached is the proposal for the class scope resolution operator :: (AI-56)
>
> Arturo
>
This archive was generated by hypermail 2b28 : Thu Mar 13 2003 - 09:21:29 PST