We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8d5cdf commit a6cd13aCopy full SHA for a6cd13a
spec/attribute.dd
@@ -635,8 +635,8 @@ auto i = 6.8; // declare i as a double
635
$(H2 $(LNAME2 scope, $(D scope) Attribute))
636
637
$(P
638
- The $(D scope) attribute is used for local variables and implements the
639
- RAII (Resource Acquisition Is Initialization) protocol.
+ The $(D scope) attribute is used for local variables and implements the
+ RAII (Resource Acquisition Is Initialization) protocol.
640
This means that the destructor for an object is automatically called when the
641
reference to it goes out of scope. The destructor is called even
642
if the scope is exited via a thrown exception, thus $(D scope)
0 commit comments