Search

August 17, 2010
Phobos »
...to have a separate struct which uses RAII to start and stop the stop watch...
August 12, 2010
Issues »
...structs could be useful to make some RAII patterns safer too. For instance, think of...
August 11, 2010
Issues »
...destructors except in SafeD. It would make RAII only work in SafeD, which would not...
August 10, 2010
General »
...auto owner = new ResourceOwner;
owner.dispose();

3. RAII:

using (auto owner = new ResourceOwner)
{
    ...
}

The resource...
August 01, 2010
Learn »
...of error codes. Particularly when you add RAII and scope into the mix, it's...
July 26, 2010
General »
...manage their own resources for example through RAII?

We really need an up to date...
July 24, 2010
General »
...PPT from other conferences too.

In your RAII example you are doing something that's...
July 21, 2010
General »
...dtor twice. Not a good trait for RAII technique ! :)
Since it's now considered useful...
July 13, 2010
General »
...to manage the memory manually and do RAII for our own reasons. By all means...
July 13, 2010
Learn »
...you can default construct them or your RAII object requires arguments to its constructor, that...
85 86 87 88 89 90 91 92 93 94 95 96
Next ›   Last »