Core: Intensity/ArrayUtils.h: CreateDataImpl: Revise and document
|Status:||Backlog||Start date:||31 Jul 2019|
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.