closures + struct: Error: forward reference to inferred return type of function call
ddcovery
antoniocabreraperez at gmail.com
Mon Dec 14 14:39:14 UTC 2020
On Monday, 14 December 2020 at 12:22:26 UTC, ddcovery wrote:
> int opCmp(Number other){
> return _value - other.value;
> };
Correction:
bool opEquals(Number other){
return _value == other.value;
};
More information about the Digitalmars-d-learn
mailing list