Visual C++ Compiler Option To Dump Class Hierarchy -
Is there a compiler option equivalent to the MS Visual C ++ GCC -fdump-class-hierarchy? That is, virtual function showing table layouts.
Try
cl.exe / d1reportAllClassLayout Test.cpp
The output is something like this:
class request _handler asset size (8): + --- 0 | Name 4 SDL + - The size of the square perfmon feature (8): + --- 0 | Name 4 Register | (Size = 3) + ---
is doing: + findstr / i class c1xx.dll> c1xx.txt
+ and then manually inspecting c1xx.txt
Hope it can help, Benedetto
PS: This is clearly a typing and unsupported switch
See also for a similar switch.
c ++ सीखने के लिए नमूना कोड
ReplyDeleteएक फ़ाइल बनाता है जो फ़्लिप नमूना कोड का उपयोग करता है