error: expected ')' before '<' token|
<p>I was implementing a String and was giving the definition in .h file. The code in String.h is the following:</p>

<pre><code>#include&lt;list&gt;
class String
{
    public:
    String();//Constructor
    String(char * copy);//For converting CString to String
    const char *c_str(const String &amp;copy);//For converting String to Cstring
    String(list&lt;char&gt; &amp;copy);//Copying chars from list
    //Safety members
    ~String();
    String(const String &amp;copy);
    void operator = (const String &amp;copy);
    protected:
    int length;
    char *entries;
};
</code></pre>

<p>The error is mentioned in the subject. What is it that I am not following?</p>
