C++ returning queue pointer from function error
<p>I have a function </p>

<pre><code>queue&lt; pair&lt;int,int&gt; &gt; * factorize(int n) {
...}
</code></pre>

<p>It shows this compile error.</p>

<pre><code>generatePrimes.cpp:20: error: expected constructor, destructor, or type conversion before '&lt;' token
generatePrimes.cpp:20: error: expected `,' or `;' before '&lt;' token
</code></pre>

<p>What's wrong?</p>
