mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 18:38:30 +08:00
Remove extraneous 'const' in the implementation of is_move_assignable. Howard pleads temporary insanity about this. Discussed at http://stackoverflow.com/questions/39986185
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@283945 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2082,7 +2082,7 @@ template <class _Tp> _LIBCPP_CONSTEXPR bool is_copy_assignable_v
|
||||
template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_move_assignable
|
||||
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
|
||||
: public is_assignable<typename add_lvalue_reference<_Tp>::type,
|
||||
const typename add_rvalue_reference<_Tp>::type> {};
|
||||
typename add_rvalue_reference<_Tp>::type> {};
|
||||
#else
|
||||
: public is_copy_assignable<_Tp> {};
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user