Compiler Error C2518

keyword 'keyword' illegal in base class list; ignored

A class or structure in a base class list was specified with the class or struct keyword. Only the name of the class or structure should be used.

The following is an example of this error:

class B {};
class C   : public class B {}; // error
class C   : public B {};       // OK