RAD Studio
ContentsIndex
PreviousUpNext
E2283: Use . or -> to call 'function' (C++)

You attempted to call a member function without providing an object. This is required to call a member function.

class X {
   member func() {}
};
X x;
X*xp = new X;
X.memberfunc();
Xp-> memberfunc();
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!