RAD Studio |  |

E2016: Ambiguous override of virtual base member 'base_function': 'derived_function' (C++)

A virtual function in a virtual base class was overridden with two or more different functions along different paths in the inheritance hierarchy. For example,

Copy Code

    struct VB
    {
    virtual f();
    };
    struct A:virtual VB
    {
    virtual f();
    };
    //{
    struct B:virtual VB
    virtual f();
    }

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