[Next] [Prev] [Up] [Top]
14.0 Type Conversions
Casting is more than a suggestion (FYI)
In C, casting from one pointer type to another is simply a designation to the compiler to treat the pointer as if it is of a different type.
In C++, casting can cause different code to be generated. This is primarily a concern in adjusting the "this" pointer in the presence of multiple inheritance.
No Title
[Next] [Prev] [Up] [Top]
Generated with CERN WebMaker