On Sunday, 11 November 2012 at 21:36:41 UTC, Adam D. Ruppe wrote:
I'm just curious if this is supposed to eventually work:

How can the compiler possibly figure out what T is supposed to be?

This will never work. It doesn't even work without the alias this.

void main() {
        Test t;
        int a = t.get(); // cannot deduce T
}

Reply via email to