www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21143] New: vtbl not accessible without typeid


          Issue ID: 21143
           Summary: vtbl not accessible without typeid
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: andrei erdani.com

__traits(vptr) returns the vptr, but there's no size information so the vtbl is
not availale. There should be a trait for that.

This blocks https://github.com/dlang/druntime/pull/3174.

Aug 09 2020