RAD Studio |  |

E2306: Virtual base classes not supported for Delphi classes (C++)
Example
Collapse All

Delphi style classes cannot be derived virtually, not even from other Delphi style classes.

Example
Copy Code

    struct __declspec(delphiclass) base  {};
    struct derived : virtual base        {};    // Error

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