RAD Studio
ContentsIndex
PreviousUpNext
E2181: Cannot override a 'dynamic/virtual' with a 'dynamic/virtual' function (C++)

When you declare a function dynamic, you cannot override this function in a derived class with a virtual function of the same name and type. Similarly when the function is declared virtual, you cannot override it with a dynamic one in a derived class.

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