How to return a std::vector from a method and not have it be a copy every time?
<p>I'm pretty sure this is some pointer business, but I've been out of C++ for a while.</p>

<p>Basically, I have a class with a method <code>getVector()</code> that returns a <code>std::vector</code> it has stored as a class variable.</p>

<p>I want to access these elements, but not copy the whole vector every time <code>getVector()</code> is called.  What is the correct approach to this?  The vector stored as a class variable is not a pointer itself.</p>
