how to do template constraints with variadic templates ?

Flaze07 christianseiji.cs at gmail.com
Sun Jul 8 02:15:35 UTC 2018


On Sunday, 8 July 2018 at 02:10:12 UTC, Simen Kjærås wrote:
> Also, you should probably use CommonType!A for the type of 
> temp, since an int can't hold all the possible values of a long 
> or ulong (or even uint), and you'll thus get unexpected results 
> with large numbers.
>
> --
>   Simen
I see, thanks, it's helpful. I really should check out std.meta 
alot more



More information about the Digitalmars-d-learn mailing list