c++ Programming Glossary: priv_t
Why one should not hide a structure implementation that way? http://stackoverflow.com/questions/17619015/why-one-should-not-hide-a-structure-implementation-that-way size alignment required type foo_t N A 48 N A 4 type priv_t N A 56 N A 4 type pub_t N A 56 N A 1 object u8_0 0xfff72caf.. typedef struct priv uint32_t val void ptr struct foo f priv_t the opaque struct typedef struct pub uint8_t padding sizeof.. opaque struct typedef struct pub uint8_t padding sizeof priv_t pub_t static int test pub_t pubp priv_t privp priv_t pubp PRINTALIGNP..
|