title: use wstring get line read file
body: <p>I have a file that contains text, I would like to get each line from this file into a <code>std::wstring</code> variable.If I do this I get an error, so is it possible to use <code>std::wstring</code> or I'm obligate to use a <code>std::string</code> ? This is my code :</p>
  
  <pre><code>std::ifstream fichier( "text.txt" );
  
  if ( fichier )
  {
    std::wstring ligne;
  
    while ( std::getline( fichier, ligne ) )
    {
        //work with ligne
    }
  }
  </code></pre>
  
  <p>As mentioned, if I replace <code>std::wstring</code> by <code>std::string</code> I have no errors.</p>