micro optimization: isSizedDerivedType is only called with arrays, vectors and structs.