If there is a POD structure, with some member variables, for example like this:
struct foo { short a; int b; char c[50]; // ... };
You can do that in C++0x:
sizeof(foo::a);