On Saturday, 21 February 2015 at 10:06:26 UTC, FrankLike wrote:
RAII(Resource Acquisition Is Initialization) is a good thing,will D plan to do it?
It's already here :
import std.stdio;
struct Test
{
~this() { writeln("RAII"); }
}
void main()
{
Test t; // prints "RAII" when goes out of scope
}
