Assocative array lookup for object
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Wed Apr 12 01:23:05 UTC 2023
You want the operator overload opIndex inside your class.
https://dlang.org/spec/operatoroverloading.html#array
More information about the Digitalmars-d-learn
mailing list