July 17, 2019 General » Re: DIP 1021--Argument Ownership and Function Calls--Community Review Round 1 | |||
|---|---|---|---|
| |||
...proposal. The example would show a simplistic RAII-style container, with @safe or @trusted getters... | |||
May 15, 2019 General » Re: Shared | |||
|---|---|---|---|
| |||
...functions to capture a lease into some raii object, and the returned object must be... | |||
April 21, 2019 General » Re: Does D use zero-cost exceptions? | |||
|---|---|---|---|
| |||
OP delivers... got this: "RAII code introduces unwind code which can constrain optimizations and keep... | |||
April 16, 2019 General » Re: Does D use zero-cost exceptions? | |||
|---|---|---|---|
| |||
...throwing, it's in the unwinding. Each RAII object requires its own try-finally, and... | |||
March 16, 2019 Issues » [Issue 19602] Under some circumstances: throwing Error subclasses unwinds without invoking dtors | |||
|---|---|---|---|
| |||
...Do not throw Errors when one expects RAII to unwind the stack. It will not... | |||
March 02, 2019 Learn » Struct destructor | |||
|---|---|---|---|
| |||
...than at the end of the scope? Or am I misunderstanding how should RAII work? | |||
February 28, 2019 Learn » Re: how to pass a malloc'd C string over to be managed by the GC | |||
|---|---|---|---|
| |||
...exception ways another option will be making RAII struct wrapper that free() on destruction, possibly... | |||
February 10, 2019 General » Re: Default struct constructor | |||
|---|---|---|---|
| |||
...article https://w0rp.com/blog/post/an-raii-constructor-by-another-name-is-just-as... | |||
February 08, 2019 General » Re: Default struct constructor | |||
|---|---|---|---|
| |||
In my particular case I need RAII initializing a C library object. Some of the... | |||
February 08, 2019 General » Re: Default struct constructor | |||
|---|---|---|---|
| |||
...could solve? If you want to use RAII, you need to pass the resource as... | |||
Copyright © 1999-2021 by the D Language Foundation