diff options
| -rw-r--r-- | libcxx/include/type_traits | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits index ec12b6b928c..be893b0dd51 100644 --- a/libcxx/include/type_traits +++ b/libcxx/include/type_traits @@ -3014,11 +3014,15 @@ struct __invoke_of  template <class _Tp>  inline _LIBCPP_INLINE_VISIBILITY +#ifndef _LIBCPP_HAS_NO_ADVANCED_SFINAE  typename enable_if  <      is_move_constructible<_Tp>::value &&      is_move_assignable<_Tp>::value  >::type +#else +void +#endif  swap(_Tp& __x, _Tp& __y) _NOEXCEPT_(is_nothrow_move_constructible<_Tp>::value &&                                      is_nothrow_move_assignable<_Tp>::value)  {  | 

