C++ reference collections
<p>So... you can't do an array of references but can you build a collection that will handle references, pointers, and values?</p>

<pre><code>Collection&lt;Integer32*&gt; a;
Collection&lt;Integer32&amp;&gt; b;
Collection&lt;Integer32&gt; c;
</code></pre>

<p>Here's the problem I'm running into:</p>

<pre><code>template &lt;class ItemType&gt; class Collection
{
    public:
        Collection(ItemType array[]);  // or ItemType*, doesnt matter

    protected:
        ItemType* innerArray;
};
</code></pre>

<p>Compiler says nope no pointers to references...  Possible?</p>
