unpacking

spir denis.spir at gmail.com
Tue Dec 7 09:29:18 PST 2010


Hello D people,

Is there a way to unpack an array into local vars, as:
	auto x = [1,2,3];
	a,b,c = x;

Denis
-- -- -- -- -- -- --
vit esse estrany ☣

spir.wikidot.com



More information about the Digitalmars-d-learn mailing list