$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] [move] boost::move incorrect documentation?
From: Mostafa (mostafa_working_away_at_[hidden])
Date: 2014-08-27 17:07:49
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 <boost/move/utility.hpp> I see:
    template <class T>
    inline typename ::boost::move_detail::enable_if_c
       < enable_move_utility_emulation<T>::value &&  
!has_move_emulation_enabled<T>::value, T&>::type
          move(T& x)
    {
       return x;
    }
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 &."