strange link error: _My_struct__xtoHashFNbNeKxSQBlQBoQBiZm _My_struct__xopEqualsMxFKxSQBlQBoQBiZb

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Tue Oct 17 03:28:20 UTC 2023


On 17/10/2023 4:18 PM, mw wrote:
> Is string basic types? as I showed one earlier Foo {one string and two 
> ints}, my other struct only has double and long, it also has the same 
> link errors about toHash and opEquals.

string is not a basic type, its a slice, which means pointer.


More information about the Digitalmars-d-learn mailing list