May 24, 2022 Issues » [Issue 21929] delegates capture do not respect scoping | |||
|---|---|---|---|
| |||
...can also chose to do away with RAII and go for the first option. Or... | |||
May 20, 2022 Learn » Re: Sleep in a cycle | |||
|---|---|---|---|
| |||
...is not needed because File is an RAII type; its objects close their handles in... | |||
May 17, 2022 Learn » Re: Why are structs and classes so different? | |||
|---|---|---|---|
| |||
...by me: - scope has already been mentioned. - RAII: MyString could be owned by a struct... | |||
May 12, 2022 Learn » Re: What are (were) the most difficult parts of D? | |||
|---|---|---|---|
| |||
...value Very straightforward. ??? Structs with dtors have RAII. You only need scope(exit) if you... | |||
May 12, 2022 Learn » Re: What are (were) the most difficult parts of D? | |||
|---|---|---|---|
| |||
class = virtual functions struct = RAII | |||
May 12, 2022 Learn » Re: What are (were) the most difficult parts of D? | |||
|---|---|---|---|
| |||
...As far as I remember, no automatic RAII support, even though it's insanely useful... | |||
April 26, 2022 Learn » A template construct like using() | |||
|---|---|---|---|
| |||
...the code up in a kind of RAII-like entry and exit code that references... | |||
April 25, 2022 Learn » Re: How to use destroy and free. | |||
|---|---|---|---|
| |||
...destruction, don't use the GC; use RAII or reference counting instead. T -- What do... | |||
April 09, 2022 General » Re: Rebooting the __metada/__mutable discussion | |||
|---|---|---|---|
| |||
...Ref counted pointers in D have problem: RAII in D is bad: move ctor are... | |||
March 29, 2022 Issues » [Issue 22951] Dtor missing from generated C++ header | |||
|---|---|---|---|
| |||
...D)` destructors, allowing C++ code that violated RAII guarantees. Declaring the constructors as `private` members... | |||
Copyright © 1999-2021 by the D Language Foundation