August 15, 2021 Learn » Re: Drawbacks of exceptions being globally allocated | |||
|---|---|---|---|
| |||
...anything wrong with the following `emplace`-allocated, RAII following exceptions: ```d import std; import core... | |||
August 01, 2021 General » Re: Do you use D's GC? | |||
|---|---|---|---|
| |||
...so, but I don't often use RAII, let alone `malloc`/`free`. And even when... | |||
July 31, 2021 Learn » Re: Why are class methods not allowed to call cons/destructors? | |||
|---|---|---|---|
| |||
...that if we're willing to let RAII do the work(I'm talking of... | |||
July 13, 2021 Learn » Re: mixin template's alias parameter ... ignored ? | |||
|---|---|---|---|
| |||
...GC. If you want stack allocation and RAII destructors for structs, you just use the... | |||
June 06, 2021 General » Re: I hate class destructors with a burning passion | |||
|---|---|---|---|
| |||
...class instance dtors are never called, breaking RAII:
https://issues.dlang.org/show_bug.cgi... | |||
June 05, 2021 General » Re: Memory/Allocation attributes for variables | |||
|---|---|---|---|
| |||
...attribute has two benefits: 1st it makes RAII explicit (which helps to prevent bugs by... | |||
June 01, 2021 General » Re: Memory/Allocation attributes for variables | |||
|---|---|---|---|
| |||
...GC allocated (TLS) > dynamically allocated (TLS) <=> RAII/scoped/stack <=> RAII/scoped/stack > register* Heap regions... | |||
May 26, 2021 Issues » [Issue 21981] New: Manually calling a __dtor can violate memory safety | |||
|---|---|---|---|
| |||
...to use the destroyed object afterwards breaks RAII memory management: ///////////////////////////////////////////// module app; import core.stdc... | |||
May 15, 2021 Issues » [Issue 21923] New: @live is not detect destructor | |||
|---|---|---|---|
| |||
...had hoped that this code would detect RAII correctly. If it is not supported, then... | |||
May 14, 2021 General » Re: Per thread heap, GC, etc. | |||
|---|---|---|---|
| |||
...thread heap/Allocator. Other than that, scoping/RAII (of the pinned references) is still valid... | |||
Copyright © 1999-2021 by the D Language Foundation