Static opDispatch

Jacob Carlborg doob at
Sun Oct 2 23:47:19 PDT 2011

On 2011-10-02 17:13, Martin Nowak wrote:
> Changing this would invert the name lookup priority of opDispatch.
> What you request makes inaccessible, i.e. you can't take the
> address of it any longer.
> martin

opDispatch should only be called when a piece of code otherwise wouldn't 
compile. So in this case, since taking the address of would be 
legal, opDispatch wouldn't be called.

/Jacob Carlborg

More information about the Digitalmars-d mailing list