On Tuesday, 2 September 2014 at 15:42:36 UTC, monarch_dodra wrote:

Word of warning: You are not overriding "to", but rather, simply defining your own "to" locally, which resolves as a better match in the context where you are using it.

If you pass the enum to another function in another module, your "to" will NOT be called.

i know. and because of that this template in same scope as enum

Reply via email to