'list::list' names the constructor, not the type
<p>I get this error while compiling my class linked list with constructors. I wanted to do a copy assignment operator, but i get this error 'list::list' names the constructor, not the type.
the line is:</p>

<pre><code>list::list&amp; operator= (const list &amp;l)
</code></pre>

<p>list is my the name of my class</p>
