You can invent ways to overload field access too, if you really want to, in D language there's opDispatch:
But overloading field access is probably a niche usage.
You can invent ways to overload field access too, if you really want to, in D language there's opDispatch:
But overloading field access is probably a niche usage.