On Tuesday, 7 July 2020 at 19:53:30 UTC, IGotD- wrote:
...
I also forgot to mention that the overloadedFunction is used in a variadic template function.
void processAll(T...)(ref T t) { foreach(ref v; t) { overloadedFunction(v); } }
IGotD- via Digitalmars-d-learn Tue, 07 Jul 2020 13:06:22 -0700
On Tuesday, 7 July 2020 at 19:53:30 UTC, IGotD- wrote:
...
I also forgot to mention that the overloadedFunction is used in a variadic template function.
void processAll(T...)(ref T t) { foreach(ref v; t) { overloadedFunction(v); } }