c++ return data  in a value parameter?
<p>I'm trying to understand the difference between</p>

<pre><code>void getval(const int record, int32* val, bool allowExc) const;
</code></pre>

<p>and </p>

<pre><code>void getval(const int record, vector&lt;int32&gt;* value, bool allowExc) const;
</code></pre>

<p>I need to return a list of int32s. Can the 1st example return a list of ints32s or only one?
Any help is appreciated</p>
