auto storage class - infer or RAII?

Tomas Lindquist Olsen tomas at famolsen.dk
Mon Nov 13 11:58:05 PST 2006


Another argument for using 'auto' for ATI can be making it consistent 
with how it currently works for classes in DMD:

class A
{
	static
	{
		auto x = 2;
		auto y = 42;
	}
	auto z = 27;
}

This works. x and y are static!



More information about the Digitalmars-d mailing list