Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ User's Guide - the "dump_object_model" pragma causes the c++ compiler to print information http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
The "dump_object_model" pragma causes the C++ compiler to print information
about the object model for an indicated class or an enumeration name to the
diagnostics file.  For class names, this information includes the offsets
and sizes of fields within the class and within base classes.  For
enumeration names, this information consists of a list of all the
enumeration constants with their values.

The general form of the "dump_object_model" pragma is as follows.

+--------------------------------------------------------------------------+
|      #pragma dump_object_model class [;]                                 |
|      #pragma dump_object_model enumeration [;]                           |
|      class ::= a defined C++ class free of errors                        |
|      enumeration ::= a defined C++ enumeration name                      |
|                                                                          |
+--------------------------------------------------------------------------+
This pragma is designed to be used for information purposes only.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson