Like this pseudo-code:
args = [10, 20]; def foo(a, b): return a + b; print(foo(*args)); Is something like this possible in D? -- Robert M. Münch http://www.saphirion.com smarter | better | faster
Robert M. Münch via Digitalmars-d-learn Tue, 28 Apr 2015 10:51:03 -0700
Like this pseudo-code:
args = [10, 20]; def foo(a, b): return a + b; print(foo(*args)); Is something like this possible in D? -- Robert M. Münch http://www.saphirion.com smarter | better | faster