From 1338039e7a43a99e085061b60be90e0b042884e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Tue, 30 Sep 2014 20:10:01 +0200 Subject: [PATCH] - Derive move_detail::is_rv from integral_constant to recover the internal "::type" typedef - Fix typo in header guard --- include/boost/move/algorithm.hpp | 2 +- include/boost/move/core.hpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/move/algorithm.hpp b/include/boost/move/algorithm.hpp index da2f186..f5f4b81 100644 --- a/include/boost/move/algorithm.hpp +++ b/include/boost/move/algorithm.hpp @@ -271,4 +271,4 @@ inline F copy_or_move(I f, I l, F r #include -#endif //#ifndef BOOST_MOVE_MOVE_HPP +#endif //#ifndef BOOST_MOVE_ALGORITHM_HPP diff --git a/include/boost/move/core.hpp b/include/boost/move/core.hpp index b420875..e2b13cd 100644 --- a/include/boost/move/core.hpp +++ b/include/boost/move/core.hpp @@ -87,7 +87,9 @@ template struct is_rv - : ::boost::move_detail::is_rv_impl + //Derive from integral constant because some Boost code assummes it has + //a "type" internal typedef + : integral_constant::value > {}; } //namespace move_detail {