File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -258,6 +258,11 @@ void test()
258
258
syntax) refers to the ability to call a function as if it were a method of
259
259
its first argument. For example `funct(arg)` may be written as
260
260
`arg.funct()`.)
261
+
262
+ $(DT $(LNAME2 inclusive_destructor, inclusive-destructor, Inclusive
263
+ Destructor))
264
+ $(DD An inclusive destructor is a destructor that includes destruction
265
+ of the object itself and its fields, if reaching its lifetime.)
261
266
)
262
267
263
268
)
Original file line number Diff line number Diff line change @@ -371,6 +371,9 @@ $(GNAME Constructor):
371
371
}
372
372
------
373
373
374
+ $(P The compiler generate a $(D __ctor) alias that matches with
375
+ constructors definitions.)
376
+
374
377
$(H3 $(LNAME2 delegating-constructors, Delegating Constructors))
375
378
376
379
$(P A constructor can call another constructor for the same class
@@ -729,6 +732,11 @@ $(GNAME Destructor):
729
732
by the gc.
730
733
)
731
734
735
+ $(P The compiler generates $(D __dtor) and $(D __xdtor) aliases that
736
+ matches the class destructor definition and inclusive destructors,
737
+ respectively.)
738
+
739
+
732
740
$(H2 $(LNAME2 static-constructor, Static Constructors))
733
741
734
742
$(GRAMMAR
You can’t perform that action at this time.
0 commit comments