naive implementation of the view for ::vector