
22 Apr
2010
22 Apr
'10
1:57 p.m.
On 4/22/2010 9:30 PM, Ion GaztaƱaga wrote:
1>ClCompile: 1>boost/interprocess/detail/move.hpp(358): error C2440: 'return' : cannot convert from 'boost::interprocess::mapped_region' to 'boost::interprocess::mapped_region &&' 1> You cannot bind an lvalue to an rvalue reference
Any quick fix for it?
Not with such little information. We need the boost version (try with the latest one), and more context of the error is needed.
I am using boost trunk.
Has VC10 activated rvalue references by default or you've activated this feature?
I think VC10 should activate rvalue reference by default. And I have tried to compile the code with and without BOOST_HAS_RVALUE_REFS defined, but got the same error.