@@ -497,7 +497,8 @@ $(H3 $(LNAME2 class-instantiation, Class Instantiation))
497
497
A a = new A(3);
498
498
------
499
499
500
- $(P A $(DDSUBLINK spec/attribute, scope-class-var, `scope` object) can be allocated on the stack.)
500
+ $(P A $(DDSUBLINK spec/attribute, scope-class-var, `scope` class instance)
501
+ is allocated on the stack.)
501
502
502
503
$(P The following steps happen:)
503
504
@@ -719,7 +720,7 @@ $(GNAME Destructor):
719
720
720
721
$(P The destructor function is called when the object
721
722
is deleted by the garbage collector, or when a
722
- $(DDSUBLINK spec/attribute, scope-class-var, `scope` object ) goes out of scope.
723
+ $(DDSUBLINK spec/attribute, scope-class-var, `scope` class instance ) goes out of scope.
723
724
The syntax is:)
724
725
725
726
------
@@ -1039,7 +1040,7 @@ $(GNAME Invariant):
1039
1040
1040
1041
$(H2 $(LNAME2 auto, Scope Classes))
1041
1042
$(NOTE Scope classes have been $(DDSUBLINK deprecate, scope as a type constraint, deprecated). See also
1042
- $(DDSUBLINK spec/attribute, scope-class-var, `scope` objects ).)
1043
+ $(DDSUBLINK spec/attribute, scope-class-var, `scope` class instances ).)
1043
1044
1044
1045
$(P A scope class is a class with the $(D scope) attribute, as in:)
1045
1046
0 commit comments