[move] boost::move incorrect documentation?
Here
http://www.boost.org/doc/libs/1_56_0/doc/html/boost/move_idp159681920.html
it states:
"This function provides a way to convert a reference into a rvalue
reference in compilers with rvalue references. For other compilers
converts T & into ::boost::rv<T> & so that move emulation is activated."
But in
El 27/08/2014 23:07, Mostafa escribió:
Therefore shouldn't the above be:
"This function provides a way to convert a reference into a rvalue reference in compilers with rvalue references. For other compilers if T is Boost.Move enabled type then it converts T & into ::boost::rv<T> & so that move emulation is activated, else it returns T &."
Yes, this is more correct. I'll change it. Best, Ion
participants (2)
-
Ion Gaztañaga
-
Mostafa