...
template opDispatch(string s) {
alias value.a opDispatch;
}The compiler then complains: error: need 'this' for 'a' of type 'int'I can only think: And? It's right there... it's a class instance, it has 'this'.
...
template opDispatch(string s) {
alias value.a opDispatch;
}The compiler then complains: error: need 'this' for 'a' of type 'int'I can only think: And? It's right there... it's a class instance, it has 'this'.