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

Virtual overrides doesn't work with double indirection

XMLWordPrintable

    • fe9bb880ae5d251e2fa12e42bf4572c7d0c52c00

      struct Base { virtual void virt() {} };
      struct Derived : Base { void virt() {} };
      struct Foo { Base *base(); };
      Foo *foo();
      void client() { foo()->base()->virt(); }
      

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

            orgads Orgad Shaneh
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes