I am trying to declare a struct that is dependent upon another struct. I want to use sizeof to be safe/pedantic.
sizeof
typedef struct _parent { floa
sizeof(Type::member) seems to be working as well:
struct Parent { float calc; char text[255]; int used; }; struct Child { char flag; char text[sizeof(Parent::text)]; int used; };