阅读背景:

兼容类型与严格的混叠规则

来源:互联网 

It is a common strategy in C to cast one type to another type, relying on the fact that the layout of a C struct has certain guarantees. Libraries such as GLib rely on this to implement object-oriented like inheritance. Basically:It is a common strategy in C to cast one type t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: