Fix template parameter
Dom Disc
dominikus at scherkl.de
Mon Aug 8 12:02:02 UTC 2022
Hello.
I found in the documentation functions declared like this:
```D
pure @nogc @safe BigInt opAssign(T : BigInt)(T x);
```
What is the difference to declaring it like:
```D
pure @nogc @safe BigInt opAssign(BigInt x);
```
To me the first declaration seems to be unnecessarily bloated, so
I ask myself: does it provide any kind of advantage? I can't see
it.
More information about the Digitalmars-d-learn
mailing list