Search

March 21, 2016
Learn »
Those arrays are for RAII-style deterministic memory release, they shouldn't be freely mixed...
March 20, 2016
General »
...produce relatively few errors"

Later:

"Abstractions like RAII, constructors and destructors, polymorphism, and exceptions were...
March 09, 2016
General »
...it goes on the heap.  It uses RAII to manage the lifetime of the lambda...
March 09, 2016
General »
...C++11.  I think not having an RAII wrapper for lambdas similar to std::function...
March 09, 2016
Learn »
Ok, I forgot std.typecons.scoped, nothing to see here .....
March 09, 2016
Learn »
That's almost literally what std.typecons.scoped does.
March 09, 2016
Learn »
...C++-like RAII needs:

class A
{
	~this(){ import std.stdio; writeln("hello"); }
}

auto RAII(T...
February 13, 2016
General »
...if you implement exception safe RAII, which you should. RAII ensures that it will be...
February 11, 2016
General »
...situation occurs a lot for me, and RAII plus move semantics are pretty close to...
February 07, 2016
Learn »
...scope(failure)" is useful for C-like APIs, but not a good replacement for RAII.
37 38 39 40 41 42 43 44 45 46 47 48
Next ›   Last »