bigint

Kagamin spam at here.lot
Sun Nov 28 11:33:50 PST 2010


Matthias Walter Wrote:

> bool opEquals(Tdummy=void)(ref const BigInt y) const
> bool opEquals(T: int)(T y) const
> 
> The only working sigature for array-of-structs-comparison to work is
> 
> bool opEquals(ref const BigInt y) const
> 
> But this removes the ability to compare against ints.

Why are they templated to begin with? Just for the heck of it?

bool opEquals(ref const BigInt y) const
bool opEquals(long y) const


More information about the Digitalmars-d-learn mailing list