What's the easiest way to convert from Array<String> to StringArray

Currently I’m doing:

StringArray a;
Array<String> b;
a.strings = b;

It would be nicer if either of the following worked:

Array<String> a;
StringArray b (a);
StringArray c = a;

Yep, that’s a pretty reasonable request - probably would make sense to make it constructible from any suitable array (std::vector too). I’ll see what I can do…

2 Likes