mirror of
https://github.com/boostorg/move.git
synced 2025-08-01 05:14:27 +02:00
- Derive move_detail::is_rv from integral_constant to recover the internal "::type" typedef
- Fix typo in header guard
This commit is contained in:
@@ -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
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user