void main() { auto t1 = #(5, "hello", 1.5); auto (_, _, x) = t1; auto (_, gr, _) = t1; }
I need to get used to the proposed syntax, sorry: void main() { auto t1 = #(5, "hello", 1.5); auto #(_, _, x) = t1; auto #(_, gr, _) = t1; } Bye, bearophile
void main() { auto t1 = #(5, "hello", 1.5); auto (_, _, x) = t1; auto (_, gr, _) = t1; }
I need to get used to the proposed syntax, sorry: void main() { auto t1 = #(5, "hello", 1.5); auto #(_, _, x) = t1; auto #(_, gr, _) = t1; } Bye, bearophile