August 17, 2010 Phobos » [phobos] Proposal of StopWatch module | |||
|---|---|---|---|
| |||
...to have a separate struct which uses RAII to start and stop the stop watch... | |||
August 12, 2010 Issues » [Issue 4621] Destructors are inherently un-@safe | |||
|---|---|---|---|
| |||
...structs could be useful to make some RAII patterns safer too. For instance, think of... | |||
August 11, 2010 Issues » [Issue 4621] Destructors are inherently un-@safe | |||
|---|---|---|---|
| |||
...destructors except in SafeD. It would make RAII only work in SafeD, which would not... | |||
August 10, 2010 General » Re: TDPL: Manual invocation of destructor | |||
|---|---|---|---|
| |||
...auto owner = new ResourceOwner;
owner.dispose();
3. RAII:
using (auto owner = new ResourceOwner)
{
...
}
The resource... | |||
August 01, 2010 Learn » Re: Casting an expression to bool means testing for 0 or !=0 for arithmetic types | |||
|---|---|---|---|
| |||
...of error codes. Particularly when you add RAII and scope into the mix, it's... | |||
July 26, 2010 General » Re: Manual memory management in D2 | |||
|---|---|---|---|
| |||
...manage their own resources for example through RAII? We really need an up to date... | |||
July 24, 2010 General » Re: My presentation at Oscon last Thursday | |||
|---|---|---|---|
| |||
...PPT from other conferences too. In your RAII example you are doing something that's... | |||
July 21, 2010 General » Re: emplace, scope, enforce [Was: Re: Manual...] | |||
|---|---|---|---|
| |||
...dtor twice. Not a good trait for RAII technique ! :) Since it's now considered useful... | |||
July 13, 2010 General » Re: Manual memory management in D2 | |||
|---|---|---|---|
| |||
...to manage the memory manually and do RAII for our own reasons. By all means... | |||
July 13, 2010 Learn » Re: Recommended way to do RAII cleanly | |||
|---|---|---|---|
| |||
...you can default construct them or your RAII object requires arguments to its constructor, that... | |||
Copyright © 1999-2021 by the D Language Foundation