Template function specialization doesn't work

IGotD- nise at nise.com
Tue Jul 7 20:02:39 UTC 2020


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);
     }
}





More information about the Digitalmars-d-learn mailing list