title: std::get not a member of std::fstream
body: <p>So I'm getting an error with g++ saying that std::get is not a member of fstream. It's giving me an error particularly when i use file.get. </p>
  
  <p>This is the function that is giving me the error.</p>
  
  <pre><code> std::fstream&amp; Obj::load(std::fstream&amp; file){
  
              file.open("123.txt", ios::in);
              char name[30];
  
              file.std::get(name, 30, ","); //This line gives an error
              name(name);//sets name
              file.ignore();
              //more code for reading in omitted for sake of simplicity
  
              file.close();
              return file;
      }
  </code></pre>
  
  <p>The error seemed a bit nonsensical to me because std::get is a member of fstream which is derived from istream isn't it?</p>