# Return Vector object from composing class

**URL:** <https://forum.kirupa.com/t/return-vector-object-from-composing-class/320212>\
**Category:** Uncategorized\
**Created:** [March 16, 2011, 8:31pm UTC](https://forum.kirupa.com/t/return-vector-object-from-composing-class/320212 "2011-03-16T20:31:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![petew](https://avatars.discourse-cdn.com/v4/letter/p/49beb7/32.png) [@petew](https://forum.kirupa.com/u/petew)\
**Post date:** [March 16, 2011, 8:31pm UTC](https://forum.kirupa.com/t/return-vector-object-from-composing-class/320212/1 "2011-03-16T20:31:38Z")

</div>

I have a CSV reader class that parses a CSV file…

1,11.15126526  
2,11.28306635  
3,10.78296071  
4,10.79878325

The CSV reader class works and produces a Vector.\<Point\>

However the container class (which includes an instance of the CSVFile class)  
needs to access the resultant Vector.

Whenever I ‘return’ the Vector.\<Point\> to the container via a CSV method it is always empty…

I don’t know if its something to do with the size of the Vector\<\> or what?

Can somebody please help?
