Re: [Boost-bugs] [Boost C++ Libraries] #4417: boost\interprocess\file_mapping compilation errors

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4417: boost\interprocess\file_mapping compilation errors
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-10 15:24:32


#4417: boost\interprocess\file_mapping compilation errors
--------------------------------------+-------------------------------------
  Reporter: anonymous | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: Boost 1.44.0 | Component: interprocess
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords: vc2010
--------------------------------------+-------------------------------------

Comment (by anonymous):

 Solution:

 +++ boost/interprocess/detail/move.hpp
 @@ -355,7 +355,7 @@
  #else
  template <class T> inline
  typename remove_reference<T>::type&& move(T&& t)
 -{ return t; }
 +{ return static_cast<typename remove_reference<T>::type&&>(t); }
  #endif

 //////////////////////////////////////////////////////////////////////////////
 @@ -968,4 +968,4 @@
  INTERPROCESS_NAMESPACE_END
  } //namespace boost {

 -#endif //#ifndef BOOST_MOVE_HPP
 +#endif //#ifndef BOOST_MOVE_HPP

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4417#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC