AI Features

Indexing Operators

Learn to overload indexing operators for structs.

Use of indexing operators

opIndex, opIndexAssign, opIndexUnary, opIndexOpAssign, and opDollar make it possible to use indexing operators on user-defined types ...