title: Converting `double` to `string`
body: <p>I am implementing this:</p>
  
  <pre><code>double x;
  ostringstream x_convert;
  x_convert &lt;&lt; x;
  string x_str = x_convert.str();
  </code></pre>
  
  <p>It seems a bit superfluous. Is there a more elegant way?</p>