Search

August 15, 2021
Learn »
...anything wrong with the following `emplace`-allocated, RAII following exceptions:

```d
import std;
import core...
August 01, 2021
General »
...so, but I don't often use RAII, let alone `malloc`/`free`. And even when...
July 31, 2021
Learn »
...that if we're willing to let RAII do the work(I'm talking of...
July 13, 2021
Learn »
...GC. If you want stack allocation and RAII destructors for structs, you just use the...
June 06, 2021
General »
...class instance dtors are never called, breaking RAII:
    https://issues.dlang.org/show_bug.cgi...
June 05, 2021
General »
...attribute has two benefits: 1st it makes RAII explicit (which helps to prevent bugs by...
June 01, 2021
General »
...GC allocated (TLS) > dynamically allocated (TLS) <=> RAII/scoped/stack <=> RAII/scoped/stack > register*

Heap regions...
May 26, 2021
Issues »
...to use the destroyed object afterwards breaks RAII memory management:

/////////////////////////////////////////////
module app;

import core.stdc...
May 15, 2021
Issues »
...had hoped that this code would detect RAII correctly.
If it is not supported, then...
May 14, 2021
General »
...thread heap/Allocator. Other than that, scoping/RAII (of the pinned references) is still valid...
1 2 3 4 5 6 7 8 9 10 11
Next ›   Last »