- Derive move_detail::is_rv from integral_constant to recover the internal "::type" typedef

- Fix typo in header guard
This commit is contained in:
Ion Gaztañaga
2014-09-30 20:10:01 +02:00
parent 76ab7093ae
commit 1338039e7a
2 changed files with 4 additions and 2 deletions

View File

@@ -271,4 +271,4 @@ inline F copy_or_move(I f, I l, F r
#include <boost/move/detail/config_end.hpp>
#endif //#ifndef BOOST_MOVE_MOVE_HPP
#endif //#ifndef BOOST_MOVE_ALGORITHM_HPP

View File

@@ -87,7 +87,9 @@
template <class T>
struct is_rv
: ::boost::move_detail::is_rv_impl<T>
//Derive from integral constant because some Boost code assummes it has
//a "type" internal typedef
: integral_constant<bool, ::boost::move_detail::is_rv_impl<T>::value >
{};
} //namespace move_detail {