Documentation Project 1
ContentsIndexHome
PreviousUpNext
my_offsetof Macro
C++
#define my_offsetof( ppstruc, member ) ((PTRSZVAL)&((*ppstruc)->member)) - ((PTRSZVAL)(*ppstruc))

private thing left as a note, and forgotten. some compilers did not define offsetof

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!