[Boost-bugs] [Boost C++ Libraries] #4048: thread::id formatting involves locale

Subject: [Boost-bugs] [Boost C++ Libraries] #4048: thread::id formatting involves locale
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-03-29 09:00:50


#4048: thread::id formatting involves locale
--------------------------+-------------------------------------------------
 Reporter: andysem | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: thread
  Version: Boost 1.42.0 | Severity: Problem
 Keywords: thread id io |
--------------------------+-------------------------------------------------
 Originated from here:

 https://sourceforge.net/projects/boost-
 log/forums/forum/710022/topic/3605632

 The thread::id formatting code relies on the stream's operator<<, 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4048>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC