E2315 'Member' is not a member of 'class', because the type is not yet defined (C++)
Go Up to Compiler Errors And Warnings (C++) Index
The member is being referenced while the class has not been fully defined yet. This can happen if you forward declare class X, declare a pointer variable to X, and reference a member through that pointer; for example:
class X; X * oneX; int test() { return oneX->i; }