Boost C++ Libraries: Ticket #5585: allow "C" locale grouping for other locales https://svn.boost.org/trac10/ticket/5585 <p> According to Programming languages - C++ Digit grouping is checked. That is, the positions of discarded separators is examined for consistency with use_facet&lt;numpunct&lt;charT&gt; &gt;(loc ).grouping()<br /> </p> <p> BUT what if there is no separators at all and grouping() is not empty? Well, we have no extraced separators, so we won`t check them for consistency. This will allow us to work with "C" locale from other locales.<br /> </p> <p> Moreover, looks like some implementations of STL use this approach. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5585 Trac 1.4.3 Antony Polukhin Tue, 31 May 2011 20:46:40 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5585#comment:1 https://svn.boost.org/trac10/ticket/5585#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/72315" title="Fixes #5585 and adds test on it">[72315]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5585" title="#5585: Feature Requests: allow &#34;C&#34; locale grouping for other locales (closed: fixed)">#5585</a> and adds test on it </p> Ticket