4 ms·
I just wondered, do you know whether operators are namespaced? Or whether that's possible?
by terhechte 12y ago
I just wondered, do you know whether operators are namespaced? Or whether that's possible?
- billylindeman 12y agoNot exactly from what I understand, but the operator definition is just telling swift that '<-' is a usable prefix and infix. To actually use them on an object you need to have class/struct specific implementations of the function.