c++11 like array class, without iterators atm