July 12, 2010 Learn » Re: Recommended way to do RAII cleanly | |||
|---|---|---|---|
| |||
...two statements and it's no longer RAII. The beauty of doing it entirely in... | |||
July 12, 2010 Learn » Re: Recommended way to do RAII cleanly | |||
|---|---|---|---|
| |||
Except that as I understand it, scope as a storage class is being deprecated. So... | |||
July 12, 2010 Learn » Re: Recommended way to do RAII cleanly | |||
|---|---|---|---|
| |||
On Mon, 12 Jul 2010 08:25:32 +0200, Jonathan M Davis <jmdavisprog@gmail.com... | |||
July 12, 2010 Learn » Re: Recommended way to do RAII cleanly | |||
|---|---|---|---|
| |||
On Sun, 11 Jul 2010 23:25:32 -0700, Jonathan M Davis wrote: I'd... | |||
July 12, 2010 Learn » Recommended way to do RAII cleanly | |||
|---|---|---|---|
| |||
...displayed and then disappears). This is classic RAII. Obviously, because classes are reference types with... | |||
June 28, 2010 Issues » [Issue 4339] Struct destructor + invariant + struct parameter = horrific error message | |||
|---|---|---|---|
| |||
...The problem is that years later, the RAII for parameters was added that winds up... | |||
June 09, 2010 General » Re: To throw or not to throw [was: Go Programming talk [OT]] | |||
|---|---|---|---|
| |||
...finally" and scope guards (and the occasional RAII helps too). "(ii) [something about different processes... | |||
June 01, 2010 Learn » Re: What does 'scope' mean for non-class types? | |||
|---|---|---|---|
| |||
...also want to create an array of RAII objects. At the moment, you can't... | |||
February 28, 2010 Learn » Re: raii | |||
|---|---|---|---|
| |||
...this() { }
void close() {
writeln("closed.");
}
}
RAII!Foo foo() {
return RAII!Foo(new Foo, (Foo f... | |||
February 28, 2010 Learn » Re: raii | |||
|---|---|---|---|
| |||
One thing I'm curious about in particular is how to ensure that the destructor... | |||
Copyright © 1999-2021 by the D Language Foundation