title: Get system's "list separator" character using C++/STL
body: <p>In my C++ software, I use:</p>
  
  <pre><code>std::stringstream str;
  str.imbue(std::locale(""));
  char decimal_separator = std::use_facet&lt; std::numpunct&lt;char&gt; &gt;(str.getloc()).decimal_point();
  </code></pre>
  
  <p>To retrieve system's (Windows) decimal separator (specified by using in "Windows Control Panel | Region and Language | Formats | Additional settings...").</p>
  
  <p>In the same Window Control Panel dialog, user also specifies a "list separator" (to be used to separate values in a csv file).</p>
  
  <p>From C++/STL code, how can I access this "list separator" character"? I did not find anything in <a href="http://www.cplusplus.com/reference/locale/" rel="nofollow noreferrer">locale documentation</a>. </p>