E2088 Bad syntax for pure function definition (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

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.