You must qualify the member reference with the appropriate base class name.
In C++ class 'class', member 'member' can be found in more than one base class, and it was not qualified to indicate which one you meant.
This applies only in multiple inheritance, where the member name in each base class is not hidden by the same member name in a derived class on the same path.
The C++ language rules require that this test for ambiguity be made before checking for access rights (private, protected, public).
It is possible to get this message even though only one (or none) of the members can be accessed.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|