a.base1::start();
a.base2::start();
or if you want to use one specifically
class derived:public base1,public base2
{
public:
using base1::start;
};
More Related Contents:
- Why do multiple-inherited functions with same name but different signatures not get treated as overloaded functions?
- How does virtual inheritance solve the “diamond” (multiple inheritance) ambiguity?
- Why should I avoid multiple inheritance in C++?
- Disambiguate class-member in multiple inheritance
- Why exactly do I need an explicit upcast when implementing QueryInterface() in an object with multiple interfaces()
- Inherit interfaces which share a method name
- ‘Inaccessible direct base’ caused by multiple inheritance
- C++ inherit from multiple base classes with the same virtual function name
- Diamond inheritance (C++)
- C++ pointer multi-inheritance fun
- Object layout in case of virtual functions and multiple inheritance
- Multiple Inheritance from two derived classes
- How can I avoid the Diamond of Death when using multiple inheritance?
- Virtual tables and memory layout in multiple virtual inheritance
- Understanding virtual base classes and constructor calls
- Why can’t I use inheritance to implement an interface in C++? [duplicate]
- Invalid covariant type with CRTP clonable class
- using declaration in variadic template
- When virtual inheritance IS a good design?
- round() for float in C++
- Remove spaces from std::string in C++
- Sorting zipped (locked) containers in C++ using boost or the STL
- Exporting a C++ class from a DLL
- How do objects work in x86 at the assembly level?
- Efficient unsigned-to-signed cast avoiding implementation-defined behavior
- Can we write an EOF character ourselves?
- What is the difference between const_iterator and non-const iterator in the C++ STL?
- How to profile memory usage?
- Why does Clang optimize away x * 1.0 but NOT x + 0.0?
- Why are iostreams not copyable?