class A { void B() {} } auto a = new A().B(); // ^ semicolon expected following auto declaration, not '.'Obviously. No clue what this snippet is trying to do.
Well I meant "int B() { return 0; }" of course. I think you deliberately miss the point.
class A { void B() {} } auto a = new A().B(); // ^ semicolon expected following auto declaration, not '.'Obviously. No clue what this snippet is trying to do.
Well I meant "int B() { return 0; }" of course. I think you deliberately miss the point.