Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-7708

Wrong Type Hierarchy with diamond inheritance

    XMLWordPrintable

Details

    Description

      class MostBasic1 {};
      class Base1 : public MostBasic1 {};
      class Base2 : public Base1 {};
      class Derived1 : public Base2 {};
      class Derived2 : public Derived1, public Base1 {};

      Gives the attached hierarchy.

      Base2 as the second base should be MostBasic1 -> Base1 -> Base2

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jkobus Jarek Kobus
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes