Boost C++ Libraries: Ticket #4048: thread::id formatting involves locale https://svn.boost.org/trac10/ticket/4048 <p> Originated from here: </p> <p> <a class="ext-link" href="https://sourceforge.net/projects/boost-log/forums/forum/710022/topic/3605632"><span class="icon">​</span>https://sourceforge.net/projects/boost-log/forums/forum/710022/topic/3605632</a> </p> <p> The thread::id formatting code relies on the stream's operator&lt;&lt;, which involves the locale installed into the stream. This can result in insertion of grouping delimiters and other decorations. This style of formatting is useful for regular numbers, but is inappropriate for thread identifiers. I would expect the thead::id to be always formatted as a hex value with no delimiters, regardless of the locale. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4048 Trac 1.4.3 viboes Fri, 21 May 2010 15:29:45 GMT <link>https://svn.boost.org/trac10/ticket/4048#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4048#comment:1</guid> <description> <p> This should be a feature request. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Fri, 21 May 2010 15:53:44 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4048#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4048#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/4048#comment:1" title="Comment 1">viboes</a>: </p> <blockquote class="citation"> <p> This should be a feature request. </p> </blockquote> <p> I don't think so. Locale-specific formatting, as it works now, is surely not a feature. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sun, 04 Dec 2011 16:53:13 GMT</pubDate> <title>owner, status, milestone changed https://svn.boost.org/trac10/ticket/4048#comment:3 https://svn.boost.org/trac10/ticket/4048#comment:3 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.43.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> <p> Is somebody against in formating thread::is using std::hex manipulator? </p> Ticket viboes Wed, 07 Dec 2011 21:55:37 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/4048#comment:4 https://svn.boost.org/trac10/ticket/4048#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.49.0</span> </li> </ul> <p> Committed in trunk <a class="missing ticket">#75858</a> </p> Ticket viboes Wed, 07 Dec 2011 21:56:56 GMT status changed; cc set; resolution deleted https://svn.boost.org/trac10/ticket/4048#comment:5 https://svn.boost.org/trac10/ticket/4048#comment:5 <ul> <li><strong>cc</strong> <span class="trac-author">viboes</span> added </li> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> Close it after merging to release </p> Ticket viboes Sat, 17 Dec 2011 09:03:25 GMT <link>https://svn.boost.org/trac10/ticket/4048#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4048#comment:6</guid> <description> <p> Added ios_flags_saver to restore the ios flags. Committed revision <a class="missing ticket">#76011</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sat, 07 Jan 2012 22:02:18 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4048#comment:7 https://svn.boost.org/trac10/ticket/4048#comment:7 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Committed in release at <a class="missing ticket">#76291</a> </p> Ticket