[Boost-bugs] [Boost C++ Libraries] #4562: Thread::id function fails to compile on msvc8

Subject: [Boost-bugs] [Boost C++ Libraries] #4562: Thread::id function fails to compile on msvc8
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-18 09:58:23


#4562: Thread::id function fails to compile on msvc8
---------------------------------------------------+------------------------
 Reporter: Reto Grieder <retogrieder@…> | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: Boost-1.45.0 | Component: thread
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: thread const |
---------------------------------------------------+------------------------
 Ticket #3761 introduced a fix for a template friend operator in
 thread::id. [[br]]

 The proposed solution, implemented in r62722, however lacks the "const"
 qualifier for the print() method. [[br]]
 The result is Visual Studio 8 complaining about it, since the argument
 type in the "<<" operator is "const thread::id&".

 I have not tested this on any other compiler, but the problem is pretty
 obious and trivial to fix.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4562>
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:04 UTC