Extracting field names of a packed struct

In reply to jjose:

It might help to explain the algorithm you are trying to achieve with this mechanism and perhaps we could suggest an alternative data structure that does not require this introspection.