- 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 committed 2014-09-30 20:10:01 +02:00
1 parent 76ab7093ae
commit 1338039e7a
2 files changed
+4 -2

No files matched your search

+1 -1
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
+3 -1
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 {