Search

May 24, 2022
Issues »
...can also chose to do away with RAII and go for the first option. Or...
May 20, 2022
Learn »
...is not needed because File is an RAII type; its objects close their handles in...
May 17, 2022
Learn »
...by me:

- scope has already been mentioned.

- RAII: MyString could be owned by a struct...
May 12, 2022
Learn »
...value

Very straightforward.


???  Structs with dtors have RAII. You only need scope(exit) if you...
May 12, 2022
Learn »
class = virtual functions

struct = RAII

May 12, 2022
Learn »
...As far as I remember, no automatic RAII support, even though it's insanely useful...
April 26, 2022
Learn »
...the code up in a kind of RAII-like entry and exit code that references...
April 25, 2022
Learn »
...destruction, don't use the GC; use RAII or reference counting instead.


T

-- 
What do...
April 09, 2022
General »
...Ref counted pointers in D have problem:

RAII in D is bad: move ctor are...
March 29, 2022
Issues »
...D)`
  destructors, allowing C++ code that violated RAII guarantees.

  Declaring the constructors as `private` members...
1 2 3 4 5 6 7 8
Next ›   Last »