Fix template parameter

Paul Backus snarwin at gmail.com
Tue Aug 9 22:58:16 UTC 2022


On Tuesday, 9 August 2022 at 22:36:23 UTC, Dom Disc wrote:
> On Tuesday, 9 August 2022 at 22:32:23 UTC, Dom Disc wrote:
>> On Tuesday, 9 August 2022 at 21:16:22 UTC, Paul Backus wrote:
>>> Yes, this syntax allows anything that implicitly converts to 
>>> `BigInt`;
>
> Oh, or do you mean I will get two different instances of the 
> template, if I call it with two different types with implicit 
> conversion?
> That would make it even worse than the non-templated 
> declaration!

Yes, exactly.


More information about the Digitalmars-d-learn mailing list