I think this is equivalent to 
this->introspection().component_indices.compositional_fields[c]
right? If so, would you mind making that change as well?