Boost C++ Libraries: Ticket #4562: Thread::id method fails to compile on msvc8 https://svn.boost.org/trac10/ticket/4562 <p> Ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3761" title="#3761: Patches: Thread ignores BOOST_NO_MEMBER_TEMPLATE_FRIENDS (closed: fixed)">#3761</a> introduced a fix for a template friend operator in thread::id. <br /> </p> <p> The proposed solution, implemented in <a class="changeset" href="https://svn.boost.org/trac10/changeset/62722" title="Fix for issue #3761 --- if define operator&lt;&lt; for thread::id outside ...">r62722</a>, 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 "&lt;&lt;" operator is "const thread::id&amp;". </p> <p> I have not tested this on any other compiler, but the problem is pretty obious and trivial to fix. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4562 Trac 1.4.3 Reto Grieder <retogrieder@…> Wed, 18 Aug 2010 10:01:57 GMT summary, milestone changed https://svn.boost.org/trac10/ticket/4562#comment:1 https://svn.boost.org/trac10/ticket/4562#comment:1 <ul> <li><strong>summary</strong> <span class="trac-field-old">Thread::id function fails to compile on msvc8</span> → <span class="trac-field-new">Thread::id method fails to compile on msvc8</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost-1.45.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> Ticket Reto Grieder <retogrieder@…> Wed, 18 Aug 2010 18:15:25 GMT <link>https://svn.boost.org/trac10/ticket/4562#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4562#comment:2</guid> <description> <p> A new ticket the same problem has been created a few hours later: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4565" title="#4565: Bugs: Stream operator overload for thread::id fails because ... (closed: fixed)">#4565</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Anthony Williams</dc:creator> <pubDate>Thu, 28 Oct 2010 13:30:46 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4562#comment:3 https://svn.boost.org/trac10/ticket/4562#comment:3 <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">duplicate</span> </li> </ul> <p> Fixed. Duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4565" title="#4565: Bugs: Stream operator overload for thread::id fails because ... (closed: fixed)">#4565</a> </p> Ticket anonymous Sat, 12 Feb 2011 07:08:53 GMT attachment set https://svn.boost.org/trac10/ticket/4562 https://svn.boost.org/trac10/ticket/4562 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">thread.hpp</span> </li> </ul> Ticket