forked from boostorg/move
- 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>
|
#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>
|
template <class T>
|
||||||
struct is_rv
|
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 {
|
} //namespace move_detail {
|
||||||
|
Reference in New Issue
Block a user