Fake std::move() doesn't always work under g++ 4.6.x

Bug #886543 reported by Paul J. Lucas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
Medium
Paul J. Lucas

Bug Description

Under g++ 4.6.x, the fake std::move() doesn't work when converting a T& to an rv<T>& -- though it's not clear to me why not.

Related branches

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

A hack fix is to make it move(T const&) and insert a const_cast. This is ugly because it shouldn't move a const T, but since this is a fake move() anyway, it probably doesn't matter.

Changed in zorba:
importance: Undecided → Medium
assignee: nobody → Paul J. Lucas (paul-lucas)
Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

This fix is needed as a prerequisite for the ft_module branch.

Changed in zorba:
status: New → Fix Committed
milestone: none → 2.1
Changed in zorba:
status: Fix Committed → Fix Released
Changed in zorba:
status: Fix Released → Fix Committed
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.