Tests of different C++ array abstraction options