I'd like to propose that ICU add an overload for
that takes an array of const Measure * instead of Measure.
It is currently hard to create a Measure via 'new' since the Measure()
constructor is protected. It is also difficult to copy existing Measure
objects (I suspect there is something odd with the unit * it owns).
Seeing that there are subclasses of Measure makes it a bit scary to copy
these instances into a Measure anyway...
In PyICU, the wrapper objects own a Measure *, a formatMeasures() method
accepting an array for const Measure * would be much simpler to write a
As it stands, in PyICU's HEAD version, I added formatMeasure(Measure) and
formatMeasures(array of 1) only.