spir: > Is there a way to unpack an array into local vars, as: > auto x = [1,2,3]; > a,b,c = x;
Not yet, but I have asked this feature for tuples too and maybe someone has appreciated it. Bye, bearophile
spir: > Is there a way to unpack an array into local vars, as: > auto x = [1,2,3]; > a,b,c = x;
Not yet, but I have asked this feature for tuples too and maybe someone has appreciated it. Bye, bearophile