Hi, sorry if the answer to this is obvious, but I didn’t find anything on it: Does Zig provide a way to make indexing syntax like array[idx] usable for custom types?
Hi, welcome!
No, Zig does not support any operator overloading (and will never, based on conversations here).
1 Like
Ok, thank you
1 Like