a.base1::start();
a.base2::start();
or if you want to use one specifically
class derived:public base1,public base2
{
public:
using base1::start;
};
Related Contents:
- How does virtual inheritance solve the “diamond” (multiple inheritance) ambiguity?
- Why do multiple-inherited functions with same name but different signatures not get treated as overloaded functions?
- Why should I avoid multiple inheritance in C++?
- Disambiguate class-member in multiple inheritance
- How can I avoid the Diamond of Death when using 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++ pointer multi-inheritance fun
- Multiple Inheritance from two derived classes
- What exactly is nullptr?
- Operator< and strict weak ordering
- C++ std::set update is tedious: I can’t change an element in place
- C/C++ macro string concatenation
- Why not non-const reference to temporary objects? [duplicate]
- Initializing a static std::map in C++
- When and why do I need to use cin.ignore() in C++?
- problem sorting using member function as comparator
- Flattening iterator
- How does std::forward work? [duplicate]
- How can I measure CPU time and wall clock time on both Linux/Windows?
- Why can’t clang with libc++ in c++0x mode link this boost::program_options example?
- declaring a priority_queue in c++ with a custom comparator
- Is adding to a “char *” pointer UB, when it doesn’t actually point to a char array?
- Does constexpr imply inline?
- Spiral rule and ‘declaration follows usage’ for parsing C and C++ declarations
- Check traits for all variadic template arguments
- How to properly link libraries with cmake?
- Does vector::erase() on a vector of object pointers destroy the object itself?
- How to copy/create derived class instance from a pointer to a polymorphic base class?
- How do I add a library path in cmake?
- C++ where to initialize static const
- Can a bool read/write operation be not atomic on x86? [duplicate]
- How to get the digits of a number without converting it to a string/ char array?
- Waitpid equivalent with timeout?
- Why is the empty base class optimization (EBO) is not working in MSVC?
- C++: Converting Hexadecimal to Decimal
- std::map default value
- I/O in concurrent program
- How to convert a char array to a string?
- What are the differences between -std=c++11 and -std=gnu++11?
- Set back default floating point print precision in C++
- C++ – Arguments for Exceptions over Return Codes
- C++ static template member, one instance for each template type?
- error LNK2005: xxx already defined in MSVCRT.lib(MSVCR100.dll) C:\something\LIBCMT.lib(setlocal.obj)
- std::function fails to distinguish overloaded functions
- Why does std::istringstream appear to resolve differently to std::ifstream in the ternary (?:) operator?
- C++ & Boost: encode/decode UTF-8
- Is it possible to set an object to null?
- template parameter packs access Nth type and Nth element