Show: Delphi C++
Display Preferences

CastToStruct -- Cast from Non-struct to struct Pointer

From RAD Studio
Jump to: navigation, search

Go Up to C++ Audits


CastToStruct checks for cast from non-struct pointer to struct pointer.

Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption.

See Also

Personal tools
RAD Studio 10.2 Tokyo
In other languages
Previous Versions