title: Visual Studio: "str() is not a member of std::ostringstream"
body: <p>I have a compiler error with Visual Studio 2013 (while Xcode 6.2 compiles) which I can't make any sense of:</p>
  
  <p>following example code is an abstract, reduced excerpt from a format conversion:</p>
  
  <pre><code>#include&lt;sstream&gt;
  void main(...){
      (std::ostringstream()&lt;&lt;0).str();
  }
  </code></pre>
  
  <p>while following version compiles:</p>
  
  <pre><code>#include&lt;sstream&gt;
  void main(...){
      (std::ostringstream()).str();
  }
  </code></pre>
  
  <p>context:</p>
  
  <pre><code>std::string result=(std::ostringstream()&lt;&lt;value).str(); 
  </code></pre>
  
  <p>what do I miss here?
  Thanks!</p>