vec2: references returned by methods are same types as references returned by methods of std::vector<>
View differences
vec2: references returned by methods are same types as references returned by methods of std::vector<>