title: std::stof works on Visual Studio 2019 (Windows) but not XCode
body: <p>I have the following code that works fine on my Windows machine, but not when I'm developing at home on my (M1) Mac. It is for parsing a line in a csv file into floats...</p>
  <pre class="lang-cpp prettyprint-override"><code>std::stringstream ss(&quot;1.0, 2.0, 3.0, 4.0&quot;); // Example line.
  std::vector&lt;float&gt; storedValues;
  
  while(ss.good())
  {
      std::string substring;
      std::getline(ss, substring, ',');
  
      float entry = std::stof(substring); // This is where it breaks.
      storedValues.push_back(entry);
  }
  </code></pre>
  <p>On Windows (Visual Studio 2019) this will compile. On my machine I get the following complaint:</p>
  <pre><code>libc++abi: terminating with uncaught exception of type std::invalid_argument: stof: no conversion
  terminating with uncaught exception of type std::invalid_argument: stof: no conversion
  </code></pre>
  <p>What is even more strange is that the following WILL work on my XCode setup, no problem:</p>
  <pre class="lang-cpp prettyprint-override"><code>float test = std::stof(&quot;0.1&quot;);
  </code></pre>
  <p>So I don't know. What do you think?</p>