Boost logo

Boost :

Subject: Re: [boost] [thread][config] VC10RC fails compiling when using thread library (BOOST_NO_RVALUE_REFERENCES)
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2010-02-17 17:07:42


"Hartmut Kaiser" <hartmut.kaiser_at_[hidden]> writes:

> the new 'un-definition' of BOOST_NO_RVALUE_REFERENCES for VC10 breaks
> compilation of code using the thread library.
> Is it a problem of VC10 or the thread library?

It's a bug in VC10. I've reported it to MS, see the link below. It's
unlikely to be fixed before VC10 ships.

https://connect.microsoft.com/VisualStudio/feedback/details/525239/binding-of-function-pointer-to-rvalue-reference-in-templated-constructor-fails

Anthony

-- 
Author of C++ Concurrency in Action     http://www.stdthread.co.uk/book/
just::thread C++0x thread library             http://www.stdthread.co.uk
Just Software Solutions Ltd       http://www.justsoftwaresolutions.co.uk
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk