Refactoring #2390

Updated by wuttke about 1 year ago

In Core/Instrument/ArrayUtils.h: Why CreateDataImpl is a class? Wouldn't a namespace be sufficient, and more to the point?

Please explain the purpose of each function.

An extant comment says "Intended for vectors only". Please specify which vector classes are supported (std::vector? BasicVector3D? ...).

Since this machinery is very complicated, exceptionally do not only explain _why_, but also _how_ things are done.

Exists there a unit test that demonstrates how these functions are to be used? If yes, provide a link. If not, please consider writing a unit test.