bearophile wrote:
Can someone show me a small example of how to use it with runtime method names?
class C { void dynamic(string s, int i) { ... } void opDispatch(string s)(int i) { dynamic(s, i); } }
bearophile wrote:
Can someone show me a small example of how to use it with runtime method names?
class C { void dynamic(string s, int i) { ... } void opDispatch(string s)(int i) { dynamic(s, i); } }