What compiles faster?
Andrey
saasecondbox at yandex.ru
Sun May 19 13:34:46 UTC 2019
Hello,
Let we have got 3 template functions:
> void func1(int a)() {}
> void func2(int a, string b)() {}
> void func3(int a, string b, bool c)() {}
As we see, the first function accepts 1 template argument, the
second - 2 and the third - 3.
What compiles faster:
1. When a program has got 100 realizations of the first variant?
2. When a program has got 100 realizations of the second variant?
3. When a program has got 100 realizations of the third variant?
More information about the Digitalmars-d-learn
mailing list