Section 11.2

LRM-34

Change to Syntax 11.1 (change in red):

class_declaration ::=

{ attribute_instance } [ virtual ] class [ lifetime ] class_identifier [ parameter_port_list ]

[ extends class_identifier [parameter_value_assignment ] ] ; [ timeunits_declaration ] { class_item }

endclass [ : class_identifier]

Section 11.4

LRM-1

Change to Table 11.1 (change in red):

 

Arithmetic operations (such as incrementing)

Allowed

Not allowed

Not allowed

For arbitrary data types

Allowed

Not allowed

Not allowed

Dereference when null

Error

Not allowed

Not allowed

Casting

Allowed

Limited

Not allowed

Assignment to an address of a data type

Allowed

Not allowed

Not allowed

Unreferenced objects are garbage collected

No

Yes

Yes No

Default value

Undefined

null

null

For classes

(C++)

Allowed

Not allowed