Skip to content
Snippets Groups Projects
Commit bceb7a62 authored by Bill Wendling's avatar Bill Wendling
Browse files

Merging r197061:

------------------------------------------------------------------------
r197061 | marshall | 2013-12-11 11:32:32 -0800 (Wed, 11 Dec 2013) | 1 line

Move std::begin(array) and std::end(array) out from under an #ifdef that was preventing people from building libc++ using gcc. This corrects a mistake that I introduced in r196058
------------------------------------------------------------------------

llvm-svn: 197134
parent 9fb5fc96
No related merge requests found
......@@ -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 <class _Tp, size_t _Np>
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 <class _Cp>
inline _LIBCPP_INLINE_VISIBILITY
auto
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment