title: C FILE* to ostream/istream
body: <p>I'm sorry if this is a question that's already come up, but I searched and couldn't find anything - is there a way in the C++ standard library to get an ostream (or an istream, depending on what you want) from a <code>FILE*</code>?</p>
  
  <p>Something along the lines of</p>
  
  <pre><code>FILE* something;
  auto out = hypothetical(something);
  out &lt;&lt; "Hello world" &lt;&lt; std::endl;
  </code></pre>