diff --git a/include/iterator b/include/iterator index 1c59919e..70a664d9 100644 --- a/include/iterator +++ b/include/iterator @@ -1385,8 +1385,6 @@ operator+(typename __wrap_iter<_Iter>::difference_type __n, return __x; } -#if !defined(_LIBCPP_HAS_NO_RVALUE_REFERENCES) && !defined(_LIBCPP_HAS_NO_TRAILING_RETURN) - template inline _LIBCPP_INLINE_VISIBILITY _Tp* @@ -1403,6 +1401,8 @@ end(_Tp (&__array)[_Np]) return __array + _Np; } +#if !defined(_LIBCPP_HAS_NO_RVALUE_REFERENCES) && !defined(_LIBCPP_HAS_NO_TRAILING_RETURN) + template inline _LIBCPP_INLINE_VISIBILITY auto