title: stringstream bug in VC9? "Cannot access private member"
body: <pre><code>std::string str;
  std::stringstream strm(str);
  </code></pre>
  
  <p>I get this error:</p>
  
  <blockquote>
    <p>Error 11  error C2248:
    'std::basic_ios&lt;_Elem,_Traits>::basic_ios'
    : cannot access private member
    declared in class
    'std::basic_ios&lt;_Elem,_Traits>'   c:\program
    files\microsoft visual studio
    9.0\vc\include\sstream    517</p>
  </blockquote>
  
  <p>If I use istringstream, same happens.</p>
  
  <p>Compiler: Visual C++ 2008.</p>