title: Compiler error with list<string>
body: <p>I'm trying to create a list of strings, following the example <a href="http://www.cplusplus.com/reference/stl/list/list/" rel="nofollow">here</a>. This below gives me syntax errors:</p>
  
  <pre><code>private: list&lt;string&gt; images;
  </code></pre>
  
  <p>The errors (all on the line where the above declaration is):</p>
  
  <pre><code>syntax error : missing ';' before '&lt;'
  missing type specifier - int assumed. Note: C++ does not support default-int
  unexpected token(s) preceding ';'
  </code></pre>
  
  <p>It's in a class with only a single constructor besides it, and it compiles fine without it. What am I doing wrong?</p>