RAD Studio
ContentsIndex
PreviousUpNext
E2088: Bad syntax for pure function definition (C++)

Pure virtual functions are specified by appending "= 0" to the declaration, like this:

class A { virtual void f () = 0;}
class B : public A { void f () {}; }

You wrote something similar, but it was not correct.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!